Changeset 5704 in orxonox.OLD for branches/collision_detection/src/lib/collision_detection/bounding_volume.cc
- Timestamp:
- Nov 22, 2005, 2:07:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/bounding_volume.cc
r5702 r5704 29 29 this->setClassID(CL_BOUNDING_VOLUME, "BoundingVolume"); 30 30 this->center = new Vector(); 31 this->bOrigVertices = true;32 31 this->vertices = NULL; 33 32 } … … 42 41 // delete what has to be deleted here 43 42 delete this->center; 44 45 if( this->vertices && !this->bOrigVertices)46 delete[] this->vertices;47 43 48 44 if( this->triangleIndexes)
Note: See TracChangeset
for help on using the changeset viewer.