Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2005, 1:42:42 PM (18 years ago)
Author:
patrick
Message:

collision_detection: cleanup and recode of some small parts.

File:
1 edited

Legend:

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

    r5702 r5703  
    7676      this->flushTree();
    7777    }
    78   OBBTreeNode* node = new OBBTreeNode();
     78  OBBTreeNode* node = new OBBTreeNode(this);
    7979  this->rootNode = node;
    80   this->rootNode->setTreeRef(this);
    8180  this->rootNode->spawnBVTree(--depth, verticesList, length);
    8281}
     
    9089    this->flushTree();
    9190  }
    92   OBBTreeNode* node = new OBBTreeNode();
     91  OBBTreeNode* node = new OBBTreeNode(this);
    9392  this->rootNode = node;
    94   this->rootNode->setTreeRef(this);
    9593 
    9694  /* triangles indexes created */
Note: See TracChangeset for help on using the changeset viewer.