Changeset 4152 in orxonox.OLD for orxonox/branches/md2_loader/src/world_entities/test_entity.cc
- Timestamp:
- May 10, 2005, 6:29:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/world_entities/test_entity.cc
r4151 r4152 20 20 #include "stdincl.h" 21 21 #include "model.h" 22 #include "md2Model.h" 22 23 23 24 using namespace std; … … 27 28 TestEntity::TestEntity () : WorldEntity() 28 29 { 29 this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); 30 //This is for md2 test purposes only! if this is seen in the trunk: hit me :) 31 MD2Loader* md2loader = new MD2Loader(); 32 this->model = new t3DModel; 33 this->md2Model = new MD2Model(); 34 35 md2loader->importMD2(model, "../data/models/jack/tris.md2", "test.bmp"); 36 37 //this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); 30 38 } 31 39 … … 55 63 glMultMatrixf((float*)matrix); 56 64 57 this->model->draw(); 65 //this->model->draw(); 66 /* TESTGING TESTING TESTING */ 67 this->md2Model->draw(this->model); 58 68 59 69 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.