Changeset 3658 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 27, 2005, 7:44:39 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/environment.cc
r3578 r3658 29 29 Environment::Environment () : WorldEntity() 30 30 { 31 this->model = new OBJModel("../data/models/fighter.obj"); 31 this->model = (Model*) ResourceManager::load("models/reaplow.obj", OBJ); 32 // this->model = new OBJModel("../data/models/fighter.obj"); 32 33 } 33 34 -
orxonox/trunk/src/world_entities/player.cc
r3655 r3658 45 45 the player.cc for debug also 46 46 */ 47 this->model = (Model*) ResourceManager::load("../data/models/reaplow.obj", OBJ);47 this->model = (Model*)ResourceManager::load("models/reaplow.obj", OBJ); 48 48 travelSpeed = 15.0; 49 49 velocity = new Vector(); -
orxonox/trunk/src/world_entities/world_entity.cc
r3649 r3658 51 51 { 52 52 // if( collisioncluster != NULL) delete collisioncluster; 53 delete this->model;53 ResourceManager::unload(this->model); 54 54 } 55 55 -
orxonox/trunk/src/world_entities/world_entity.h
r3655 r3658 9 9 #include "p_node.h" 10 10 #include "comincl.h" 11 #include "resource_manager.h" 12 11 13 12 14 //class CollisionCluster;
Note: See TracChangeset
for help on using the changeset viewer.