Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

collision_detection: interface change, const war continued

File:
1 edited

Legend:

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

    r5684 r5702  
    8383
    8484
    85 void OBBTree::spawnBVTree(int depth, const modelInfo& modInfo)
     85void OBBTree::spawnBVTree(int depth, const modelInfo& modelInf)
    8686{
    8787  if( unlikely(this->rootNode != NULL))
     
    9393  this->rootNode = node;
    9494  this->rootNode->setTreeRef(this);
    95   this->rootNode->spawnBVTree(--depth, modInfo);
     95 
     96  /* triangles indexes created */
     97  int* triangleIndexes = new int[modelInf.numTriangles];
     98 
     99  this->rootNode->spawnBVTree(--depth, modelInf, triangleIndexes, modelInf.numTriangles);
    96100}
    97101
Note: See TracChangeset for help on using the changeset viewer.