Changeset 3125 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 11/13/08 13:14:55 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r3124 r3125 201 201 mGeometry[mStaticGeometrySize + i] = dynamicEntities[i]; 202 202 } 203 204 cout << "max depth for testing children" << mMaxDepthForTestingChildren << endl; 203 205 } 204 206 … … 227 229 228 230 mMaxDepthForTestingChildren = maxDepthForTestingChildren; 231 cout << "max depth for testing children" << mMaxDepthForTestingChildren << endl; 229 232 } 230 233 … … 592 595 return numNodes; 593 596 } 594 595 #if TODO596 void Bvh::RenderBoundsImmediate(const BvhNodeContainer &nodes, RenderState *state)597 {598 /////////599 //-- Render the tight bounds in immediate mode600 BvhNodeContainer::const_iterator nit, nit_end = nodes.end();601 602 for (nit = nodes.begin(); nit != nit_end; ++ nit)603 {604 BvhNode *node = *nit;605 606 for (int size_t i = 0; i < node->mNumTestNodes; ++ i)607 {608 BvhNode *testNode = node->mTestNodesIdx609 RenderBoundingBoxImmediate((*nit)->GetBox());610 }611 }612 }613 #endif614 597 615 598
Note: See TracChangeset
for help on using the changeset viewer.