Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2005, 11:05:27 AM (19 years ago)
Author:
patrick
Message:

orxonox/md2_loader: fixed a translation bug, md2_model animates again :)

File:
1 edited

Legend:

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

    r4238 r4244  
    516516  this->scaleFactor = 1.0f;
    517517
    518   this->setAnim(STAND);
     518  this->setAnim(BOOM);
    519519}
    520520
     
    583583          pVertex[j][0] = (frame->pVertices[j].v[0] * frame->scale[0]) + frame->translate[0];
    584584          pVertex[j][1] = (frame->pVertices[j].v[2] * frame->scale[2]) + frame->translate[2];
    585           pVertex[j][2] = -1.0 * (frame->pVertices[j].v[1] * frame->scale[1]) + frame->translate[1];
     585          pVertex[j][2] = -1.0 * (frame->pVertices[j].v[1] * frame->scale[1] + frame->translate[1]);
    586586         
    587587          pNormals[j] = frame->pVertices[j].lightNormalIndex;
Note: See TracChangeset for help on using the changeset viewer.