Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4244 in orxonox.OLD for orxonox/branches


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 :)

Location:
orxonox/branches/md2_loader/src
Files:
2 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;
  • orxonox/branches/md2_loader/src/world_entities/test_entity.cc

    r4232 r4244  
    4444void TestEntity::tick (float time)
    4545{
    46   //this->md2Model2->tick(time);
     46  this->md2Model2->tick(time);
    4747}
    4848
Note: See TracChangeset for help on using the changeset viewer.