Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2005, 9:17:55 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now bounding box gets displayed very well

File:
1 edited

Legend:

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

    r4588 r4616  
    33    \brief Definition of a bounding volume for collision detection algorithms
    44
    5 */
     5 */
    66
    77#ifndef _BOUNDING_VOLUME_H
     
    1818class BoundingVolume : public BaseObject {
    1919
    20  public:
    21   BoundingVolume();
    22   virtual ~BoundingVolume();
     20  public:
     21    BoundingVolume();
     22    virtual ~BoundingVolume();
    2323
    24   inline const Vector* getCenter() const { return this->center; }
     24    inline const Vector* getCenter() const { return this->center; }
    2525
    26   sVec3D* getVertices() const { return this->vertices; }
    27   virtual void mergeWith(const BoundingVolume &bv) = NULL;
     26    sVec3D* getVertices() const { return this->vertices; }
     27    virtual void mergeWith(const BoundingVolume &bv) = NULL;
    2828
    29   virtual void drawBV(int currentDepth, const int depth) const = NULL;
    30   virtual void drawBVPolygon(int currentDepth, const int depth) const = NULL;
    31   virtual void drawBVBlended(int currentDepth, const int depth) const = NULL;
     29    virtual void drawBV(int currentDepth, const int depth) const = NULL;
     30    virtual void drawBVPolygon(int currentDepth, const int depth) const = NULL;
     31    virtual void drawBVBlended(int currentDepth, const int depth) const = NULL;
    3232
    3333
    34  public:
    35   Vector*             center;                     //!< Center point of box
     34  public:
     35    Vector*             center;                     //!< Center point of box
    3636
    37   sVec3D*             vertices;                   //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
    38   int                 numOfVertices;              //!< number of vertices in the vertices buffer
     37    sVec3D*             vertices;                   //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred
     38    int                 numOfVertices;              //!< number of vertices in the vertices buffer
    3939};
    4040
Note: See TracChangeset for help on using the changeset viewer.