Changeset 8374 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 14, 2006, 11:38:02 AM (18 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer/md3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8372 r8374 230 230 this->meshes[i] = new MD3Mesh(); 231 231 232 bool bTriangles, bTexVecs, bVertices, bTextures; //!< the parts that have been read so far 233 234 //start reading mesh data 235 232 236 } 233 237 return 0; -
branches/bsp_model/src/lib/graphics/importer/md3/md3_mesh.h
r8372 r8374 20 20 { 21 21 22 23 typedef struct MD3MeshHeader { 24 25 int id; //!< individual id, must be IDP3 26 char name[68]; //!< the name of the mesh 27 28 int meshFrameNum; //!< numbers of frames 29 int textureNum; //!< numbers of textures 30 int vertexNum; //!< numbers of verteces 31 int triangleNum; //!< number of triangles 32 33 int triangleStart; //!< triangle start offset 34 int textureStart; //!< texture start offset 35 int texVecStart; //!< tex vec start offset 36 int vertexStart; //!< vertex start offset 37 38 int meshSize; //!< total mesh size 39 }; 40 22 41 class MD3Mesh 23 42 { … … 27 46 28 47 29 private: 30 std::string id; //!< id of the mesh 31 std::string name; //!< the name of the mesh 32 33 int numFrameMesh; //!< number of mesh fames 34 int numTexture; //!< number of textures 35 int numVertex; //!< number of verteces 36 37 int numTriangle; //!< number of triangles 38 int triangleStart; //!< start triangle 39 int textureStart; //!< start texture 40 int texVecStart; //!< texture vector start 41 int vertexStart; //!< start of the verteces 42 43 int meshSize; //!< the mesh size 44 48 public: 49 MD3MeshHeader* header; //!< the header of the mesh 45 50 46 51 //MD3Texture* textures; //!< array of textures of size textureNum
Note: See TracChangeset
for help on using the changeset viewer.