Changeset 4814 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb.cc
- Timestamp:
- Jul 7, 2005, 3:27:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb.cc
r4704 r4814 32 32 this->halfLength = new float[3]; 33 33 this->bCollided = false; 34 this->vertices = NULL; 34 35 } 35 36 … … 41 42 OBB::~OBB () 42 43 { 43 // delete what has to be deleted here44 44 delete [] this->axis; 45 45 delete [] this->halfLength; 46 47 if( this->vertices && !this->bOrigVertices) 48 { 49 // for(int i = 0; i < this->numOfVertices; i++) 50 // delete [] this->vertices[i]; 51 delete this->vertices; 52 this->vertices = NULL; 53 } 46 54 } 47 55
Note: See TracChangeset
for help on using the changeset viewer.