Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2005, 5:47:07 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added obb tree node structure to be more modular

File:
1 edited

Legend:

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

    r4533 r4541  
    1212class sVect3D;
    1313class Vector;
     14template<class T> class tList;
     15
    1416
    1517//! An abstract class representing a bounding volume
     
    2022  virtual ~BoundingVolume();
    2123
     24  virtual void createBV() = NULL;
     25
    2226  inline const Vector* getCenter() const { return this->center; }
    23   inline const int getIndex() { return this->treeIndex; }
    2427
    25   virtual sVect3D* getVertices() const = NULL;
     28  virtual tList<sVect3D>* getVertices() const = NULL;
    2629  virtual void mergeWith(const BoundingVolume &bv) = NULL;
    2730
     
    3437  Vector*             center;                     //!< Center point of box
    3538
    36   unsigned int        treeIndex;                  //!< Index number of the BV in the tree
     39  tList<sVect3D>*     verticesBuffer;             //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
    3740};
    3841
Note: See TracChangeset for help on using the changeset viewer.