Changeset 4560 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree_node.h
- Timestamp:
- Jun 9, 2005, 12:21:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.h
r4557 r4560 27 27 virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length); 28 28 29 BoundingVolume* getBV(int index) const { return this->bvElement; }29 BoundingVolume* getBV(int index) const { return (BoundingVolume*)this->bvElement; } 30 30 inline const int getIndex() { return this->treeIndex; } 31 31 … … 38 38 private: 39 39 OBB* createBox(); 40 void calculateBoxAttributes(OBB* box );40 void calculateBoxAttributes(OBB* box, sVec3D* verticesList, int length); 41 41 void forkBox(OBB* box); 42 42 43 43 44 45 44 protected: 46 BoundingVolume* bvElement;45 OBB* bvElement; 47 46 OBBTreeNode* nodeLeft; 48 47 OBBTreeNode* nodeRight;
Note: See TracChangeset
for help on using the changeset viewer.