Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2005, 5:47:07 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added obb tree node structure to be more modular

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree.cc

    r4533 r4541  
    4444void OBBTree::spawnBVTree(int depth)
    4545{
    46   OBB obb();
     46  float area[this->numberOfVertices];  //!< surface area of the i'th triangle of the convex hull
     47  float areaTotal; //!< surface area of the entire convex hull
     48  float centroid[this->numberOfVertices]; //!< centroid of the i'th convex hull
     49 
     50
     51  //OBB obb();
    4752  float muX, muY, muZ;
    4853  for(int i = 0; i < this->numberOfVertices; ++i)
Note: See TracChangeset for help on using the changeset viewer.