Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4215 in orxonox.OLD for orxonox/branches/md2_loader/src/lib


Ignore:
Timestamp:
May 18, 2005, 2:29:34 AM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_model: flushing work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc

    r4214 r4215  
    511511 
    512512  this->textureID = 0;
    513   this->scaleFactor = 0.1f;
     513  this->scaleFactor = 1.0f;
    514514
    515515  this->setAnim(STAND);
     
    728728        }
    729729
    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 */
    731731        {
    732732          /* for quake2 lighting */
     
    734734          //glColor3f(l * lcolor[0], l * lcolor[1], l * lcolor[2]);
    735735
     736          glNormal3fv(anorms[this->pLightNormals[pCommands[2]]]);
    736737          glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    737           glNormal3fv(anorms[this->pLightNormals[2]]);
    738738          glVertex3fv(verticesList[pCommands[2]]);
    739739        }
Note: See TracChangeset for help on using the changeset viewer.