Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2005, 11:27:44 PM (19 years ago)
Author:
patrick
Message:

collision_detection: moved the treedepth variable and therefore the hole interface changed

File:
1 edited

Legend:

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

    r5713 r5716  
    7979    OBBTreeNode_sphereObj = gluNewQuadric();
    8080}
     81
    8182
    8283/**
     
    114115 * on the triangle informations (triangle soup not polygon soup)
    115116 */
    116 void OBBTreeNode::spawnBVTree(const int depth, const modelInfo& modelInf,
    117                               const int* triangleIndexes, unsigned int length)
     117void OBBTreeNode::spawnBVTree(const modelInfo& modelInf, const int* triangleIndexes, unsigned int length)
    118118{
    119119  sVec3D* verticesList;
     
    172172 * this function creates an Bounding Volume tree from a vertices soup (no triangle data)
    173173 */
    174 void OBBTreeNode::spawnBVTree(const int depth, const sVec3D *verticesList, unsigned int length)
     174void OBBTreeNode::spawnBVTree(const sVec3D *verticesList, unsigned int length)
    175175{
    176176//   PRINTF(3)("\n");
     
    281281        r = *tmpVec;
    282282
    283 
    284283        covariance[j][k] = facelet[i] / (12.0f * face) * (9.0f * centroid[i][j] * centroid[i][k] + p[j] * p[k] +
    285284            q[j] * q[k] + r[j] * r[k]) - center[j] * center[k];
Note: See TracChangeset for help on using the changeset viewer.