Changeset 4215 in orxonox.OLD for orxonox/branches/md2_loader/src/lib
- Timestamp:
- May 18, 2005, 2:29:34 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc
r4214 r4215 511 511 512 512 this->textureID = 0; 513 this->scaleFactor = 0.1f;513 this->scaleFactor = 1.0f; 514 514 515 515 this->setAnim(STAND); … … 728 728 } 729 729 730 for(; i > 0; --i, pCommands += 3) /* down counting for loop, next 3 gl commands */730 for(; i > 0; i--, pCommands += 3) /* down counting for loop, next 3 gl commands */ 731 731 { 732 732 /* for quake2 lighting */ … … 734 734 //glColor3f(l * lcolor[0], l * lcolor[1], l * lcolor[2]); 735 735 736 glNormal3fv(anorms[this->pLightNormals[pCommands[2]]]); 736 737 glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] ); 737 glNormal3fv(anorms[this->pLightNormals[2]]);738 738 glVertex3fv(verticesList[pCommands[2]]); 739 739 }
Note: See TracChangeset
for help on using the changeset viewer.