Changeset 4717 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- Jun 27, 2005, 1:49:58 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/md2Model.cc
r4697 r4717 203 203 } 204 204 205 205 206 for(; i > 0; i--, pCommands += 3) /* down counting for loop, next 3 gl commands */ 206 207 { 208 glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] ); 207 209 glNormal3fv(anorms[this->data->pLightNormals[pCommands[2]]]); 208 glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );209 210 glVertex3fv(verticesList[pCommands[2]]); 210 211 } 211 212 glEnd(); 213 212 214 } 213 215 glDisable(GL_CULL_FACE);
Note: See TracChangeset
for help on using the changeset viewer.