Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 11:17:54 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: the hashing function now works perfect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc

    r4913 r4914  
    5252   int* index = new int; *index = 0;
    5353   for(int i = 0; i < (int)pow(2, treeDepth); ++i)
     54   {
     55     printf("============================\n");
    5456     this->rootNode->buildHashTable(this->nodes, index);
     57   }
    5558}
    5659
     
    7477{
    7578  //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)
    7780  {
    7881    this->nodes[i]->drawTree(0, 0);
Note: See TracChangeset for help on using the changeset viewer.