Changeset 5430 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Oct 24, 2005, 9:21:15 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/abstract_model.h
r5427 r5430 116 116 } sAnimState; 117 117 118 118 //! Model Information definitions 119 119 typedef struct 120 120 { 121 unsigned int numVertices; 122 unsigned int numTriangles; 123 unsigned int numNormals; 121 unsigned int numVertices; //!< number of Vertices in the Model 122 unsigned int numTriangles; //!< number of triangles in the Model 123 unsigned int numNormals; //!< how many Normals in the Model 124 124 unsigned int numTexCoor; 125 125 126 const float* pVertices; 127 sTriangleExt* pTriangles; 128 const float* pNormals; 129 const float* pTexCoor; 126 const float* pVertices; //!< array of the Vertives 127 sTriangleExt* pTriangles; //!< array of all triangles 128 const float* pNormals; //!< array of the Normals 129 const float* pTexCoor; //!< array of the Texture Coordinates 130 130 131 131 } modelInfo; … … 140 140 virtual ~AbstractModel() {} 141 141 142 inline modelInfo* getModelInfo() const { return this->pModelInfo; }142 inline const modelInfo* getModelInfo() const { return this->pModelInfo; } 143 143 144 144 145 145 protected: 146 modelInfo* pModelInfo; //!< Reference to the modelInfo defined in abstract_model.h 147 Quadtree* quadtreel; //!< Reference to the quadtree of the object, NULL if not defined 146 modelInfo* pModelInfo; //!< Reference to the modelInfo 148 147 }; 149 148 150 151 152 153 154 149 #endif /* _ABSTRACT_MODEL_H */ -
trunk/src/lib/graphics/importer/model.cc
r5427 r5430 21 21 22 22 #include "stdlibincl.h" 23 #include <math.h>24 25 23 #include <stdarg.h> 26 24
Note: See TracChangeset
for help on using the changeset viewer.