Changeset 4541 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree.cc
- Timestamp:
- Jun 7, 2005, 5:47:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4533 r4541 44 44 void OBBTree::spawnBVTree(int depth) 45 45 { 46 OBB obb(); 46 float area[this->numberOfVertices]; //!< surface area of the i'th triangle of the convex hull 47 float areaTotal; //!< surface area of the entire convex hull 48 float centroid[this->numberOfVertices]; //!< centroid of the i'th convex hull 49 50 51 //OBB obb(); 47 52 float muX, muY, muZ; 48 53 for(int i = 0; i < this->numberOfVertices; ++i)
Note: See TracChangeset
for help on using the changeset viewer.