Changeset 4907 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.cc
- Timestamp:
- Jul 20, 2005, 9:33:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.cc
r4902 r4907 107 107 this->nodeC = NULL; 108 108 this->nodeD = NULL; 109 this->nodes = new QuadtreeNode*[4]; 109 110 110 111 if( this->treeDepth < this->maxDepth) … … 279 280 280 281 this->nodeD = new QuadtreeNode(pTriD, lenD, this->pVertices, this->numVertices, this->quadtree, this, rD, this->treeDepth + 1, this->maxDepth, (this->treeDepth + 1) * 10 + 3); 282 /* map the array references, this is for faster and automatical interfacing \todo: use only array */ 283 this->nodes[0] = this->nodeA; 284 this->nodes[1] = this->nodeB; 285 this->nodes[2] = this->nodeC; 286 this->nodes[3] = this->nodeD; 281 287 } 282 288
Note: See TracChangeset
for help on using the changeset viewer.