Changeset 4923 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jul 21, 2005, 4:27:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/cd_engine.cc
r4921 r4923 9 9 any later version. 10 10 11 11 ### File Specific: 12 12 main-programmer: Patrick Boenzli 13 13 co-programmer: ... … … 36 36 /** 37 37 * standard constructor 38 */38 */ 39 39 CDEngine::CDEngine () 40 40 { 41 this->setClassID(CL_CD_ENGINE, "CDEngine"); 42 43 /* testing purposes only: */ 44 //this->rootTree = new OBBTree(); 45 } 46 47 /** 48 * the singleton reference to this class 49 */ 50 CDEngine* CDEngine::singletonRef = NULL; 51 52 /** 53 * standard deconstructor 54 55 */ 56 CDEngine::~CDEngine () 57 { 58 CDEngine::singletonRef = NULL; 59 41 this->setClassID(CL_CD_ENGINE, "CDEngine"); 60 42 } 61 43 62 44 63 45 /** 64 \brief this is the collision checking function 46 * the singleton reference to this class 47 */ 48 CDEngine* CDEngine::singletonRef = NULL; 65 49 66 there are some speed improvements that can be done here. a rewrite of the list a would be appropriate to 67 be able to enhance iteration speed. 50 51 /** 52 * standard deconstructor 53 */ 54 CDEngine::~CDEngine () 55 { 56 CDEngine::singletonRef = NULL; 57 } 58 59 60 /** 61 * this is the collision checking function 62 63 there are some speed improvements that can be done here. a rewrite of the list a would be appropriate to 64 be able to enhance iteration speed. 68 65 */ 69 66 void CDEngine::checkCollisions()
Note: See TracChangeset
for help on using the changeset viewer.