Changeset 5774 in orxonox.OLD for trunk/src/lib/graphics/importer/model.h
- Timestamp:
- Nov 25, 2005, 1:36:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/model.h
r5701 r5774 12 12 #include "glincl.h" 13 13 #include "array.h" 14 14 #include <list> 15 15 16 16 // FORWARD DECLARATION // 17 17 template<class T> class tArray; 18 template<class T> class tList;19 18 20 19 … … 176 175 177 176 private: 178 MODEL_TYPE type; //!< A type for the Model179 bool finalized; //!< Sets the Object to be finalized.177 MODEL_TYPE type; //!< A type for the Model 178 bool finalized; //!< Sets the Object to be finalized. 180 179 181 unsigned int vertexCount; //!< A modelwide Counter for vertices.182 unsigned int normalCount; //!< A modelwide Counter for the normals.183 unsigned int texCoordCount; //!< A modelwide Counter for the texCoord.184 unsigned int faceCount; //!< A modelwide Counter for the faces185 unsigned int triangleCount; //!< Number of triangles >= faceCount186 tArray<GLfloat>* vertices; //!< The Array that handles the Vertices.187 tArray<GLfloat>* normals; //!< The Array that handles the Normals.188 tArray<GLfloat>* vTexture; //!< The Array that handles the VertexTextureCoordinates.189 sTriangleExt* triangles; //!< The Array of triangles in the abstract_model.h style180 unsigned int vertexCount; //!< A modelwide Counter for vertices. 181 unsigned int normalCount; //!< A modelwide Counter for the normals. 182 unsigned int texCoordCount; //!< A modelwide Counter for the texCoord. 183 unsigned int faceCount; //!< A modelwide Counter for the faces 184 unsigned int triangleCount; //!< Number of triangles >= faceCount 185 tArray<GLfloat>* vertices; //!< The Array that handles the Vertices. 186 tArray<GLfloat>* normals; //!< The Array that handles the Normals. 187 tArray<GLfloat>* vTexture; //!< The Array that handles the VertexTextureCoordinates. 188 sTriangleExt* triangles; //!< The Array of triangles in the abstract_model.h style 190 189 191 ModelGroup* firstGroup; //!< The first of all groups.192 ModelGroup* currentGroup; //!< The currentGroup. this is the one we will work with.193 int groupCount; //!< The Count of Groups.190 ModelGroup* firstGroup; //!< The first of all groups. 191 ModelGroup* currentGroup; //!< The currentGroup. this is the one we will work with. 192 int groupCount; //!< The Count of Groups. 194 193 195 tList<ModelMaterial>*materialList; //!< A list for all the Materials in this Model194 std::list<ModelMaterial*> materialList; //!< A list for all the Materials in this Model 196 195 }; 197 196
Note: See TracChangeset
for help on using the changeset viewer.