Changeset 2954 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 09/17/08 19:35:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r2951 r2954 389 389 390 390 391 void Bvh::UpdateMinDistance(BvhNode *node) const 392 { 393 node->mDistance = node->GetBox().GetMinDistance(sNearPlane); 391 void Bvh::UpdateDistance(BvhNode *node) const 392 { 393 //node->mDistance = node->GetBox()GetMinDistance(sNearPlane); 394 node->mDistance = sNearPlane.Distance(node->GetBox().Center()); 394 395 } 395 396
Note: See TracChangeset
for help on using the changeset viewer.