Changeset 6037 in orxonox.OLD for trunk/src/lib/graphics/importer/vertex_array_model.h
- Timestamp:
- Dec 11, 2005, 12:23:25 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/vertex_array_model.h
r6022 r6037 12 12 13 13 #include "array.h" 14 #include < list>14 #include <vector> 15 15 16 16 /* Forward Declaration */ … … 22 22 ///////////// 23 23 //! Class that handles 3D-Models. it can also read them in and display them. 24 /** 25 * this renders models with help of the OpenGL glVertexArray 26 */ 24 27 class VertexArrayModel : public Model 25 28 { … … 30 33 void draw() const; 31 34 35 36 void newStripe(); 37 32 38 void addVertex(float x, float y, float z); 33 34 39 void addNormal(float x, float y, float z); 35 36 40 void addTexCoor(float u, float v); 37 38 41 void addIndice(GLubyte indice); 39 42 40 43 void finalize(); 41 44 42 43 void cubeModel();45 // 46 void planeModel(); 44 47 45 48 private: … … 47 50 48 51 private: 49 bool finalized; //!< Sets the Object to be finalized.52 bool bFinalized; //!< Sets the Object to be finalized. 50 53 51 54 tArray<GLfloat> vertices; //!< The Array that handles the Vertices. … … 54 57 55 58 tArray<GLubyte> indices; //!< The Array that tells us what Vertex is connected to which other one. 59 60 std::vector<GLuint> stripes; //!< A lsit of Stripes of this Model. 61 56 62 }; 57 63
Note: See TracChangeset
for help on using the changeset viewer.