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.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
GlobalGL.h
"
9
#include "
GraphicsObject.h
"
10
#include "
Vector3.h
"
11
13
20
class
ModelObject
:
public
GraphicsObject
{
21
// constructors, a display list has to be submitted to the constructor
22
public
:
23
ModelObject
( GLuint displayList );
24
ModelObject
(
float
r, GLuint displayList );
25
ModelObject
(
Vector3
position,
float
r, GLuint displayList);
26
ModelObject
(
float
x
,
float
y
,
float
z
,
float
r, GLuint displayList);
27
~ModelObject
(
void
);
28
private
:
29
ModelObject
(
void
);
30
ModelObject
(
float
r );
31
ModelObject
(
Vector3
position,
float
r );
32
ModelObject
(
float
x,
float
y,
float
z,
float
r );
33
34
// drawing
35
public
:
36
virtual
void
draw
();
37
private
:
38
GLuint m_list;
// Display list
39
};
40
Generated on Tue Oct 2 2012 14:38:37 for mElite by
1.8.2