Changeset 4616 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/bounding_volume.h
- Timestamp:
- Jun 13, 2005, 9:17:55 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/bounding_volume.h
r4588 r4616 3 3 \brief Definition of a bounding volume for collision detection algorithms 4 4 5 */5 */ 6 6 7 7 #ifndef _BOUNDING_VOLUME_H … … 18 18 class BoundingVolume : public BaseObject { 19 19 20 public:21 BoundingVolume();22 virtual ~BoundingVolume();20 public: 21 BoundingVolume(); 22 virtual ~BoundingVolume(); 23 23 24 inline const Vector* getCenter() const { return this->center; }24 inline const Vector* getCenter() const { return this->center; } 25 25 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; 28 28 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; 32 32 33 33 34 public:35 Vector* center; //!< Center point of box34 public: 35 Vector* center; //!< Center point of box 36 36 37 sVec3D* vertices; //!< if CD_STORE_VERTICES enabled, this is the place, where the vert. will be sotred38 int numOfVertices; //!< number of vertices in the vertices buffer37 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 39 39 }; 40 40
Note: See TracChangeset
for help on using the changeset viewer.