mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
mElite
QuadricObject.h
Go to the documentation of this file.
1
6
#pragma once
7
#include "
GlobalGL.h
"
8
#include "
GraphicsObject.h
"
9
#include "
Vector3.h
"
10
12
class
QuadricObject
:
13
virtual
public
GraphicsObject
{
14
public
:
15
QuadricObject
( GLuint textureName );
16
QuadricObject
(
float
r, GLuint textureName );
17
QuadricObject
(
Vector3
position,
float
r, GLuint textureName );
18
QuadricObject
(
float
x
,
float
y
,
float
z
,
float
r, GLuint textureName );
19
~QuadricObject
(
void
);
20
private
:
21
QuadricObject
(
void
);
22
23
// drawing: texture, color
24
public
:
25
Point4
getColor
(
void
);
26
GLuint
getTexture
(
void
);
27
void
setColor
(
Vector3
color );
28
void
setColor
(
float
r,
float
g,
float
b );
29
void
setColor
(
float
r,
float
g,
float
b,
float
a );
30
void
setTexture
( GLuint texture );
31
32
public
:
33
GLuint
m_texture
;
34
Point4
m_color
;
35
36
};
Generated on Tue Oct 2 2012 14:38:38 for mElite by
1.8.2