Changeset 5116 in orxonox.OLD for trunk/src/lib/collision_detection/bounding_volume.cc
- Timestamp:
- Aug 24, 2005, 1:47:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/bounding_volume.cc
r4836 r5116 29 29 this->setClassID(CL_BOUNDING_VOLUME, "BoundingVolume"); 30 30 this->center = new Vector(); 31 this->bOrigVertices = false;31 this->bOrigVertices = true; 32 32 } 33 33 … … 41 41 // delete what has to be deleted here 42 42 delete this->center; 43 44 if( this->vertices && !this->bOrigVertices) 45 { 46 delete this->vertices; 47 this->vertices = NULL; 48 } 43 49 }
Note: See TracChangeset
for help on using the changeset viewer.