Changeset 4914 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
- Timestamp:
- Jul 21, 2005, 11:17:54 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
r4913 r4914 52 52 int* index = new int; *index = 0; 53 53 for(int i = 0; i < (int)pow(2, treeDepth); ++i) 54 { 55 printf("============================\n"); 54 56 this->rootNode->buildHashTable(this->nodes, index); 57 } 55 58 } 56 59 … … 74 77 { 75 78 //this->rootNode->drawTree(depth, drawMode); 76 for(int i = 0; i < 4; ++i)79 for(int i = 0; i < (int)pow(4, this->treeDepth); ++i) 77 80 { 78 81 this->nodes[i]->drawTree(0, 0);
Note: See TracChangeset
for help on using the changeset viewer.