Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 13, 2005, 3:40:23 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: reimplemente the whole md2_loader to make it more performant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/world_entities/test_entity.cc

    r4168 r4172  
    2828TestEntity::TestEntity () : WorldEntity()
    2929
    30   this->md2Model = new MD2Model();
     30  //this->md2Model = new MD2Model();
     31
     32  MD2Model2* model2 = new MD2Model2();
     33  model2->loadModel("../data/models/tris.md2");
    3134
    3235  this->material = new Material("Clown");
     
    4346void TestEntity::tick (float time)
    4447{
    45   this->md2Model->tick(time);
     48  //this->md2Model->tick(time);
    4649}
    4750
     
    6871
    6972  /* TESTGING TESTING TESTING */
    70   this->material->select();
     73  //this->material->select();
    7174  //this->md2Model->draw(this->model);
    72   this->md2Model->animate();
     75  //this->md2Model->animate();
    7376
    7477  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.