Changeset 4542 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
- Timestamp:
- Jun 7, 2005, 6:10:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4541 r4542 17 17 18 18 #include "obb_tree_node.h" 19 #include "list.h" 20 #include "obb.h" 19 21 20 22 using namespace std; … … 41 43 42 44 45 46 /** 47 \brief creates a new BVTree or BVTree partition 48 \param depth: the depth of the tree 49 \param verticesList: the list of vertices of the object - each vertices triple is interpreted as a triangle 50 */ 51 void OBBTreeNode::spawnBVTree(const int depth, tList<sVec3D> *verticesList) 52 { 53 float area[verticesList->getSize()]; //!< surface area of the i'th triangle of the convex hull 54 float areaTotal; //!< surface area of the entire convex hull 55 float centroid[verticesList->getSize()]; //!< centroid of the i'th convex hull 56 OBB* obb = new OBB(); //!< the new obb to add 57 58 /* fist compute all the convex hull particles */ 59 for(int i = 0; i < verticesList->getSize(); ++i) 60 { 61 62 } 63 } 64 65 66 void OBBTreeNode::collideWith(const BVTree &tree) 67 {} 68 69 70 void OBBTreeNode::drawBV(int currentDepth, const int depth) const 71 {} 72 73 74 void OBBTreeNode::drawBVPolygon(int currentDepth, const int depth) const 75 {} 76 77 78 void OBBTreeNode::drawBVBlended(int currentDepth, const int depth) const 79 {}
Note: See TracChangeset
for help on using the changeset viewer.