Changeset 3474 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 10, 2005, 6:39:18 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r3471 r3474 18 18 #include "player.h" 19 19 #include "stdincl.h" 20 #include "collision.h"20 //#include "collision.h" 21 21 #include "importer/objModel.h" 22 22 … … 76 76 bFire = false; 77 77 acceleration = 10.0; 78 setCollision(new CollisionCluster(1.0, Vector(0,0,0)));78 //setCollision(new CollisionCluster(1.0, Vector(0,0,0))); 79 79 } 80 80 -
orxonox/trunk/src/world_entities/world_entity.cc
r3472 r3474 20 20 #include "world_entity.h" 21 21 #include "stdincl.h" 22 #include "collision.h"22 //#include "collision.h" 23 23 24 24 using namespace std; … … 38 38 this->setClassName ("WorldEntity"); 39 39 this->bDraw = true; 40 collisioncluster = NULL;40 // collisioncluster = NULL; 41 41 } 42 42 … … 46 46 WorldEntity::~WorldEntity () 47 47 { 48 if( collisioncluster != NULL) delete collisioncluster;48 // if( collisioncluster != NULL) delete collisioncluster; 49 49 } 50 50 … … 85 85 Any previously assigned collision hull will be deleted on reassignment 86 86 */ 87 /* 87 88 void WorldEntity::setCollision (CollisionCluster* newhull) 88 89 { … … 91 92 collisioncluster = newhull; 92 93 } 93 94 */ 94 95 95 96 /** -
orxonox/trunk/src/world_entities/world_entity.h
r3472 r3474 10 10 #include "p_node.h" 11 11 12 class CollisionCluster;12 //class CollisionCluster; 13 13 class OBJModel; 14 14 … … 24 24 OBJModel* model; //!< The model that should be loaded for this entity. 25 25 26 void setCollision (CollisionCluster* newhull);26 //void setCollision (CollisionCluster* newhull); 27 27 28 28 bool isFree (); … … 49 49 bool bDraw; //!< If it should be visible. 50 50 51 CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity.51 //CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity. 52 52 }; 53 53
Note: See TracChangeset
for help on using the changeset viewer.