Changeset 4172 in orxonox.OLD for orxonox/branches/md2_loader/src/world_entities
- Timestamp:
- May 13, 2005, 3:40:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/world_entities/test_entity.cc
r4168 r4172 28 28 TestEntity::TestEntity () : WorldEntity() 29 29 { 30 this->md2Model = new MD2Model(); 30 //this->md2Model = new MD2Model(); 31 32 MD2Model2* model2 = new MD2Model2(); 33 model2->loadModel("../data/models/tris.md2"); 31 34 32 35 this->material = new Material("Clown"); … … 43 46 void TestEntity::tick (float time) 44 47 { 45 this->md2Model->tick(time);48 //this->md2Model->tick(time); 46 49 } 47 50 … … 68 71 69 72 /* TESTGING TESTING TESTING */ 70 this->material->select();73 //this->material->select(); 71 74 //this->md2Model->draw(this->model); 72 this->md2Model->animate();75 //this->md2Model->animate(); 73 76 74 77 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.