Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2005, 12:37:43 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented some more bv, obb and bs functions now reached the point to start implementing it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/collision_detection/bounding_volume.h

    r4524 r4525  
    2121
    2222  inline const Vector* getCenter() const { return this->center; }
    23   inline const Vector* getAxis () const { return this->axis; }
    24   inline const sVect3D* getHalfLength() const { return this->halfLength; }
     23  inline const int getIndex() { return this->treeIndex; }
    2524
    2625  virtual sVect3D* getVertices() const = NULL;
     
    3130  virtual void drawBVBlended(int currentDepth, const int depth) const = NULL;
    3231
     32
    3333 private:
    3434  Vector*             center;                     //!< Center point of box
    35   Vector*             axis;                       //!< Axes of oriented box [x,y,z]
    36   sVect3D*            halfLength;                 //!< Half lengths of the box
    3735
    3836  unsigned int        treeIndex;                  //!< Index number of the BV in the tree
Note: See TracChangeset for help on using the changeset viewer.