Changeset 4521 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jun 6, 2005, 11:27:10 PM (19 years ago)
- Location:
- orxonox/trunk/src/util/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/collision_detection/bounding_volume.h
r4520 r4521 24 24 inline const sVect3D* getHalfLength() const { return this->halfLength; } 25 25 26 sVect3D* getVertices() const; 27 void mergeWith(const BoundingVolume& bv); 26 virtual sVect3D* getVertices() const = NULL; 27 virtual void mergeWith(const BoundingVolume& bv) = NULL; 28 29 virtual void drawBV(int currentDepth, int depth) = NULL; 30 virtual void drawBVPolygon(int currentDepth, int depth) const = NULL; 31 virtual void drawBVBlended(int currentDepth, int depth) const = NULL; 28 32 29 33 private: 30 Vector* center; //!< Center point of box31 Vector* axis; //!< Axes of oriented box [x,y,z]32 sVect3D* halfLength; //!< Half lengths of the box34 Vector* center; //!< Center point of box 35 Vector* axis; //!< Axes of oriented box [x,y,z] 36 sVect3D* halfLength; //!< Half lengths of the box 33 37 34 38 unsigned int treeIndex; //!< Index number of the BV in the tree 35 39 }; 36 40 -
orxonox/trunk/src/util/collision_detection/obb.h
r4514 r4521 20 20 21 21 22 22 23 private: 23 24 OBB* leftNode; //!< left node of the tree 25 OBB* rightNode; //!< right node of the tree 24 26 }; 25 27
Note: See TracChangeset
for help on using the changeset viewer.