Changeset 4911 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
- Timestamp:
- Jul 21, 2005, 12:09:36 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
r4907 r4911 50 50 /* make an array with access to the leafs of the Quad-Tree */ 51 51 this->nodes = new QuadtreeNode*[(int)pow(4, treeDepth)]; 52 int* index = new int; *index = 0; 53 for(int i = 0; i < (int)pow(2, treeDepth); ++i) 54 this->rootNode->buildHashTable(this->nodes, index); 52 55 } 53 56
Note: See TracChangeset
for help on using the changeset viewer.