Changeset 4921 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
- Timestamp:
- Jul 21, 2005, 3:32:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.cc
r4920 r4921 162 162 printf("-----------\nthe array coordinates are: %i, %i\n", i, j); 163 163 printf("position: %f,%f, center %f, %f\n", position.x, position.z, this->nodes[i + j * max]->getDimension()->getCenter()->x, this->nodes[i + j * max]->getDimension()->getCenter()->z); 164 this->nodes[i + j * max]->drawTree(0,0); 164 165 //this->nodes[i + j * max]->draw(); 165 166 this->nodes[i + j * max]->includesPoint(position); 166 167 } 167 168 else 168 169 printf("object has left terrain\n"); 169 170 170 } 171 171 … … 179 179 for(int i = 0; i < (int)pow(4, this->treeDepth); ++i) 180 180 { 181 //this->nodes[i]->drawTree(0, 0);181 this->nodes[i]->draw(); 182 182 } 183 183
Note: See TracChangeset
for help on using the changeset viewer.