mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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