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
ModelObject.cpp
Go to the documentation of this file.
1
7
#include "
ModelObject.h
"
8
12
ModelObject::ModelObject
(
void
) :
GraphicsObject
() {
13
m_list = 0;
14
}
15
20
ModelObject::ModelObject
( GLuint displayList ) :
GraphicsObject
() {
21
m_list = displayList;
22
}
23
28
ModelObject::ModelObject(
float
r ) :
GraphicsObject
( r ) {
29
m_list = 0;
30
}
31
37
ModelObject::ModelObject
(
float
r, GLuint displayList ) :
GraphicsObject
( r ) {
38
m_list = displayList;
39
}
40
46
ModelObject::ModelObject(
Vector3
position,
float
r ) :
GraphicsObject
( position, r ) {
47
m_list = 0;
48
}
49
56
ModelObject::ModelObject
(
Vector3
position,
float
r, GLuint displayList) :
GraphicsObject
( position, r ) {
57
m_list = displayList;
58
}
59
61
68
ModelObject::ModelObject(
float
x
,
float
y
,
float
z
,
float
r ) :
GraphicsObject
( x, y, z, r ) {
69
m_list = 0;
70
}
71
80
ModelObject::ModelObject
(
float
x
,
float
y
,
float
z
,
float
r, GLuint displayList) :
GraphicsObject
( x, y, z, r ) {
81
m_list = displayList;
82
}
83
87
ModelObject::~ModelObject
(
void
) {
88
}
89
91
97
void
ModelObject::draw
() {
98
glCallList( m_list );
99
}
Generated on Tue Oct 2 2012 14:38:37 for mElite by
1.8.2