Changeset 4278 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/md2Model.h
- Timestamp:
- May 24, 2005, 11:27:40 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/md2Model.h
r4277 r4278 66 66 67 67 68 //! This is used to store the vertices that are read in for the current frame directly from the file (compressed)69 struct tMd2AliasTriangle70 {71 byte vertex[3];72 byte lightNormalIndex;73 };74 75 //! This stores the normals and vertices for the frames (uncompressed)76 struct tMd2Triangle77 {78 float vertex[3];79 float normal[3];80 };81 82 //! This stores the indices into the vertex and texture coordinate arrays83 struct tMd2Face84 {85 short vertexIndices[3];86 short textureIndices[3];87 };88 89 //! This stores UV coordinates90 struct tMd2TexCoord91 {92 short u, v;93 };94 95 //! This stores the animation scale, translation and name information for a frame, plus verts96 struct tMd2AliasFrame97 {98 float scale[3];99 float translate[3];100 char name[16];101 tMd2AliasTriangle aliasVertices[1];102 };103 104 //! This stores the frames vertices after they have been transformed105 struct tMd2Frame106 {107 char strName[16];108 tMd2Triangle *pVertices;109 };110 111 //! This stores a skin name112 typedef char tMd2Skin[64];113 68 114 69 typedef enum
Note: See TracChangeset
for help on using the changeset viewer.