Changeset 5882 in orxonox.OLD for branches/collision_detection/src/lib/collision_detection/bv_tree_node.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_node.h
r5718 r5882 8 8 #define _BV_TREE_NODE_H 9 9 10 10 11 #include "base_object.h" 11 12 #include "abstract_model.h" 12 13 #include "vector.h" 13 14 14 // FORWARD DECLARATION 15 16 // forward declarations 15 17 class BoundingVolume; 16 18 class BVTree; … … 29 31 30 32 virtual const BoundingVolume* getBV() const = 0; 33 /** returns the index of this bounding volume tree node @returns index of this index */ 31 34 inline const int getIndex() const { return this->treeIndex; } 32 35 33 virtual void spawnBVTree(const sVec3D *verticesList, unsigned int length ) = 0;34 36 virtual void spawnBVTree(const modelInfo& modInfo, const int* triangleIndexes, unsigned int length) = 0; 35 36 37 virtual void collideWith(const BVTreeNode& treeNode, const WorldEntity& nodeA, const WorldEntity& nodeB) const = 0; 37 38 38 virtual void drawBV(int depth, int drawMode, const Vector& color = Vector(1,0,0), bool top = true) const = 0; 39 39
Note: See TracChangeset
for help on using the changeset viewer.