Changeset 5702 in orxonox.OLD for branches/collision_detection/src/lib/collision_detection/obb_tree.cc
- Timestamp:
- Nov 22, 2005, 1:11:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/obb_tree.cc
r5684 r5702 83 83 84 84 85 void OBBTree::spawnBVTree(int depth, const modelInfo& mod Info)85 void OBBTree::spawnBVTree(int depth, const modelInfo& modelInf) 86 86 { 87 87 if( unlikely(this->rootNode != NULL)) … … 93 93 this->rootNode = node; 94 94 this->rootNode->setTreeRef(this); 95 this->rootNode->spawnBVTree(--depth, modInfo); 95 96 /* triangles indexes created */ 97 int* triangleIndexes = new int[modelInf.numTriangles]; 98 99 this->rootNode->spawnBVTree(--depth, modelInf, triangleIndexes, modelInf.numTriangles); 96 100 } 97 101
Note: See TracChangeset
for help on using the changeset viewer.