Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2005, 12:31:47 AM (18 years ago)
Author:
patrick
Message:

collision_detection: work flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/collision_detection/src/lib/collision_detection/obb_tree.cc

    r5716 r5717  
    8787    this->flushTree();
    8888  }
    89   OBBTreeNode* node = new OBBTreeNode(*this, depth);
    90   this->rootNode = node;
     89  this->rootNode = new OBBTreeNode(*this, depth-1);
    9190
    9291  /* triangles indexes created */
     
    9796  this->rootNode->spawnBVTree(modelInf, triangleIndexes, modelInf.numTriangles);
    9897}
     98
     99
    99100
    100101
Note: See TracChangeset for help on using the changeset viewer.