Changeset 4546 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 7, 2005, 11:50:01 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/collision_detection
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/cd_engine.cc
r4519 r4546 17 17 18 18 #include "cd_engine.h" 19 #include "obb_tree.h" 20 #include "debug.h" 19 21 20 22 using namespace std; … … 44 46 45 47 } 48 49 50 void CDEngine::debug() 51 { 52 PRINT(0)("\n=============================| CDEngine::debug() |===\n"); 53 PRINT(0)("= CDEngine: Spawning Tree Start\n"); 54 55 PRINT(0)("= CDEngine: Spawning Tree: Finished\n"); 56 PRINT(0)("=======================================================\n"); 57 58 } -
orxonox/trunk/src/lib/collision_detection/cd_engine.h
r4541 r4546 34 34 virtual ~CDEngine(void); 35 35 /** \returns a Pointer to the only object of this Class */ 36 inline static CDEngine* getInstance(void) { if (!singletonRef) singletonRef = new CDEngine(); return singletonRef; };36 static CDEngine* getInstance(void) { if (!singletonRef) singletonRef = new CDEngine(); return singletonRef; } 37 37 void init(); 38 38 … … 47 47 48 48 void checkCollisions(); 49 50 void debug(); 49 51 50 52 private: -
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4542 r4546 18 18 #include "obb_tree.h" 19 19 #include "obb.h" 20 #include "debug.h" 20 21 21 22 using namespace std; … … 66 67 void OBBTree::drawBVBlended(int currentDepth, const int depth) const 67 68 {} 69 70 71 void OBBTree::debug() 72 { 73 PRINT(0)("\n==============================| OBBTree::debug() |===\n"); 74 PRINT(0)("= Spawning Tree: Start\n"); 75 this->spawnBVTree(1); 76 PRINT(0)("= Spawning Tree: Finished\n"); 77 PRINT(0)("=======================================================\n"); 78 79 } -
orxonox/trunk/src/lib/collision_detection/obb_tree.h
r4531 r4546 28 28 virtual void drawBVBlended(int currentDepth, const int depth) const; 29 29 30 void debug(); 31 30 32 private: 31 33
Note: See TracChangeset
for help on using the changeset viewer.