Changeset 4246 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 21, 2005, 11:24:31 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/md2Model.cc
r4245 r4246 17 17 #include "md2Model.h" 18 18 #include "material.h" 19 20 #include "resource_manager.h" 19 21 20 22 #include <fstream> … … 81 83 MD2Loader* md2loader = new MD2Loader(); 82 84 this->model = new t3DModel; 83 md2loader->importMD2(this->model, "../data/models/tris.md2");85 md2loader->importMD2(this->model, ResourceManager::getFullName("models/tris.md2")); 84 86 delete md2loader; 85 87 } -
orxonox/trunk/src/world_entities/test_entity.cc
r4245 r4246 31 31 32 32 this->md2Model2 = new MD2Model2(); 33 this->md2Model2->loadModel( "../data/models/tris.md2");34 this->md2Model2->loadSkin( "../data/models/tris.pcx");33 this->md2Model2->loadModel(ResourceManager::getFullName("models/tris.md2")); 34 this->md2Model2->loadSkin(ResourceManager::getFullName("../data/models/tris.pcx")); 35 35 36 36 this->md2Model2->debug();
Note: See TracChangeset
for help on using the changeset viewer.