Changeset 4276 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- May 24, 2005, 11:08:33 AM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_entity.cc
r4246 r4276 28 28 TestEntity::TestEntity () : WorldEntity() 29 29 { 30 //this->md2Model = new MD2Model(); 30 this->md2Model = new MD2Model(); 31 this->md2Model->loadModel(ResourceManager::getFullName("models/tris.md2")); 32 // this->md2Model->loadSkin(ResourceManager::getFullName("models/tris.pcx")); 33 this->md2Model->loadSkin("../data/models/tris.pcx"); 31 34 32 this->md2Model2 = new MD2Model2();33 this->md2Model2->loadModel(ResourceManager::getFullName("models/tris.md2"));34 this->md2Model2->loadSkin(ResourceManager::getFullName("../data/models/tris.pcx"));35 35 36 this->md2Model 2->debug();36 this->md2Model->debug(); 37 37 } 38 38 … … 44 44 void TestEntity::tick (float time) 45 45 { 46 this->md2Model 2->tick(time);46 this->md2Model->tick(time); 47 47 } 48 48 … … 67 67 glMultMatrixf((float*)matrix); 68 68 69 70 /* TESTGING TESTING TESTING */ 71 //this->material->select(); 72 //this->md2Model->draw(this->model); 73 //this->md2Model->animate(); 74 75 this->md2Model2->draw(); 69 this->md2Model->draw(); 76 70 77 71 -
orxonox/trunk/src/world_entities/test_entity.h
r4245 r4276 29 29 t3DModel* model; 30 30 MD2Model* md2Model; 31 MD2Model2* md2Model2;32 31 Material* material; 33 32
Note: See TracChangeset
for help on using the changeset viewer.