Changeset 5882 in orxonox.OLD for branches/collision_detection/src/lib/collision_detection/bv_tree.h
- Timestamp:
- Dec 3, 2005, 1:31:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/bv_tree.h
r5718 r5882 18 18 class WorldEntity; 19 19 20 //! draw mode for the bounding volume 20 21 typedef enum DrawMode 21 22 { … … 33 34 34 35 //! A class that represents a bounding volume tree 35 class BVTree : public BaseObject { 36 class BVTree : public BaseObject 37 { 36 38 37 public:38 BVTree();39 virtual ~BVTree();39 public: 40 BVTree(); 41 virtual ~BVTree(); 40 42 41 virtual void spawnBVTree(sVec3D *verticesList, const int length) = 0; 42 virtual void spawnBVTree(const modelInfo& modelInf) = 0; 43 virtual void flushTree() = 0; 43 virtual void spawnBVTree(const modelInfo& modelInf) = 0; 44 virtual void flushTree() = 0; 44 45 45 virtual void collideWith(const WorldEntity& entity1, const WorldEntity& entity2) const = 0;46 virtual void collideWith(const WorldEntity& entity1, const WorldEntity& entity2) const = 0; 46 47 47 /** @param depth: depth, @param drawMode: how to draw the Model */ 48 virtual void drawBV(int depth, int drawMode) const = 0; 49 50 51 protected: 52 int numberOfVertices; 53 54 private: 55 56 48 virtual void drawBV(int depth, int drawMode) const = 0; 57 49 }; 58 50
Note: See TracChangeset
for help on using the changeset viewer.