Changeset 4237 in orxonox.OLD for orxonox/branches/md2_loader
- Timestamp:
- May 20, 2005, 2:12:35 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc
r4236 r4237 724 724 725 725 /* draw the triangles */ 726 /* \todo: take int i out of while loop */727 726 while( int i = *(pCommands++)) /* strange looking while loop for maximum performance */ 728 727 { … … 744 743 745 744 glNormal3fv(anorms[this->pLightNormals[pCommands[2]]]); 746 glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] ); 745 glTexCoord2f( ((float *)pCommands)[0], 1.0-((float *)pCommands)[1] ); 746 //printf("pCommands %f, %f\n", ((float *)pCommands)[0], ((float *)pCommands)[1]); 747 747 glVertex3fv(verticesList[pCommands[2]]); 748 748
Note: See TracChangeset
for help on using the changeset viewer.