Changeset 5085 in orxonox.OLD for trunk/src/lib/graphics/importer/md2Model.h
- Timestamp:
- Aug 20, 2005, 3:37:12 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/md2Model.h
r5039 r5085 66 66 67 67 68 68 69 //! animation names enumeration 69 70 typedef enum animType … … 116 117 int numVertices; //!< number of vertices 117 118 int numTriangles; //!< number of triangles 119 int numTexCoor; //!< number of texture coordinates 118 120 int numGLCommands; //!< number of gl commands in the glList (tells how to draw) 119 121 char* fileName; //!< file name of the model File … … 123 125 sVec3D* pVertices; //!< pointer to the vertices data block 124 126 sTriangle* pTriangles; //!< pointer to the triangles data 127 sTexCoor* pTexCoor; //!< pointer to the texture coordinate data 125 128 int* pGLCommands; //!< pointer to the gllist data block 126 129 int* pLightNormals; //!< pointer to the light normals … … 129 132 float scaleFactor; //!< the scale factor of the model, (global) 130 133 }; 134 135 131 136 132 137 … … 155 160 void processLighting(); 156 161 void interpolate(sVec3D* verticesList); 157 void renderFrame(); 162 void renderFrameGLList(); 163 void renderFrameTriangles(); 158 164 159 165 public:
Note: See TracChangeset
for help on using the changeset viewer.