Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2005, 2:26:46 AM (18 years ago)
Author:
bensch
Message:

orxonox/branches/collision_detection: switched from pointers to Values, to save debug-time deleting all the nice little new Pointer-arrays

@patrick: hope you approve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/collision_detection/src/lib/collision_detection/obb.cc

    r5120 r5699  
    2929{
    3030   this->setClassID(CL_OBB, "OBB");
    31    this->axis = new Vector[3];
    32    this->halfLength = new float[3];
     31   this->halfLength[0] = this->halfLength[1] = this->halfLength[2] = 0.0f;
    3332   this->bCollided = false;
    3433}
     
    4140OBB::~OBB ()
    4241{
    43   delete [] this->axis;
    44   delete [] this->halfLength;
    4542}
    4643
Note: See TracChangeset for help on using the changeset viewer.