Changeset 5915 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Dec 4, 2005, 3:34:36 PM (19 years ago)
- Location:
- trunk/src/lib/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/cd_engine.cc
r5134 r5915 24 24 #include "world_entity.h" 25 25 #include "terrain.h" 26 #include "player.h"26 // #include "player.h" 27 27 28 28 #include "spatial_separation.h" … … 119 119 Quadtree* q = this->terrain->ssp->getQuadtree(); 120 120 121 QuadtreeNode* n = q->getQuadtreeFromPosition(this->player->getAbsCoor());121 // QuadtreeNode* n = q->getQuadtreeFromPosition(this->player->getAbsCoor()); 122 122 } 123 123 //sTriangleExt* tri = q->getTriangleFromPosition(this->player->getAbsCoor()); -
trunk/src/lib/collision_detection/cd_engine.h
r5039 r5915 17 17 class OBBTree; 18 18 class Terrain; 19 class Player;19 //class Player; 20 20 21 21 … … 51 51 inline void setEntityList(tList<WorldEntity>* entityList) { this->entityList = entityList; } 52 52 inline void setTerrain(Terrain* terrain) { this->terrain = terrain; } 53 inline void setPlayer(Player* player) { this->player = player; } /* only for debug purposes \todo: delete*/53 // inline void setPlayer(Player* player) { this->player = player; } /* only for debug purposes \todo: delete*/ 54 54 55 55 void drawBV(int depth, int drawMode) const; … … 79 79 80 80 Terrain* terrain; //!< this it a ref to the terrain, serving as a ground for all WE 81 Player* player;81 // Player* player; 82 82 }; 83 83
Note: See TracChangeset
for help on using the changeset viewer.