Changeset 5717 in orxonox.OLD for branches/collision_detection/src/lib/collision_detection/bv_tree_node.h
- Timestamp:
- Nov 23, 2005, 12:31:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/bv_tree_node.h
r5716 r5717 26 26 virtual ~BVTreeNode(); 27 27 28 virtual const BoundingVolume* getBV() const = 0; 29 inline const int getIndex() const { return this->treeIndex; } 30 28 31 virtual void spawnBVTree(const sVec3D *verticesList, unsigned int length ) = 0; 29 32 virtual void spawnBVTree(const modelInfo& modInfo, const int* triangleIndexes, unsigned int length) = 0; 30 33 31 virtual const BoundingVolume* getBV() const = 0; 32 inline const int getIndex() { return this->treeIndex; } 33 34 virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = 0; 34 virtual void collideWith(const BVTreeNode& treeNode, const WorldEntity& nodeA, const WorldEntity& nodeB) const = 0; 35 35 36 36 virtual void drawBV(int depth, int drawMode, const Vector& color = Vector(1,0,0), bool top = true) const = 0;
Note: See TracChangeset
for help on using the changeset viewer.