Changeset 4616 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree.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/obb_tree.h
r4551 r4616 1 /*! 1 /*! 2 2 \file obb_tree.h 3 3 \brief Definition of an obb tree (object oriented Bounding Box) … … 10 10 #include "bv_tree.h" 11 11 #include "abstract_model.h" 12 #include "material.h" 12 13 14 class Material; 13 15 class OBBTreeNode; 14 16 … … 16 18 class OBBTree : public BVTree { 17 19 18 public:19 OBBTree();20 virtual ~OBBTree();20 public: 21 OBBTree(); 22 virtual ~OBBTree(); 21 23 22 virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length);23 virtual void flushTree();24 virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length); 25 virtual void flushTree(); 24 26 25 void collideWith(const OBBTree &tree);27 void collideWith(const OBBTree &tree); 26 28 27 virtual void drawBV(int currentDepth, const int depth) const;28 virtual void drawBVPolygon(int currentDepth, const int depth) const;29 virtual void drawBVBlended(int currentDepth, const int depth) const;29 virtual void drawBV(int currentDepth, const int depth) const; 30 virtual void drawBVPolygon(int currentDepth, const int depth) const; 31 virtual void drawBVBlended(int currentDepth, const int depth) const; 30 32 31 void debug();33 void debug(); 32 34 33 private: 34 OBBTreeNode* rootNode; //!< reference to the root node of the tree 35 public: 36 static Material* material; 37 38 39 private: 40 OBBTreeNode* rootNode; //!< reference to the root node of the tree 35 41 36 42 };
Note: See TracChangeset
for help on using the changeset viewer.