Changeset 5120 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Aug 25, 2005, 12:08:04 AM (19 years ago)
- Location:
- trunk/src/lib/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/bounding_volume.cc
r5116 r5120 30 30 this->center = new Vector(); 31 31 this->bOrigVertices = true; 32 this->vertices = NULL; 32 33 } 33 34 … … 43 44 44 45 if( this->vertices && !this->bOrigVertices) 45 { 46 delete this->vertices; 47 this->vertices = NULL; 48 } 46 delete[] this->vertices; 49 47 } -
trunk/src/lib/collision_detection/obb.cc
r5116 r5120 32 32 this->halfLength = new float[3]; 33 33 this->bCollided = false; 34 this->vertices = NULL;35 34 } 36 35
Note: See TracChangeset
for help on using the changeset viewer.