Changeset 6909 in orxonox.OLD for branches/current_cd/src/lib/collision_detection/obb.cc
- Timestamp:
- Jan 31, 2006, 6:02:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/current_cd/src/lib/collision_detection/obb.cc
r6222 r6909 14 14 */ 15 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_COLLISION 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_COLLISION_DETECTION 17 17 18 18 #include "obb.h" … … 28 28 { 29 29 this->setClassID(CL_OBB, "OBB"); 30 this->axis = new Vector[3]; 31 this->halfLength = new float[3]; 30 this->halfLength[0] = this->halfLength[1] = this->halfLength[2] = 0.0f; 32 31 this->bCollided = false; 33 32 } … … 40 39 OBB::~OBB () 41 40 { 42 delete [] this->axis;43 delete [] this->halfLength;44 41 } 45 42
Note: See TracChangeset
for help on using the changeset viewer.