Changeset 2599 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 01/15/08 23:02:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2598 r2599 2483 2483 const bool useHitObjects) 2484 2484 { 2485 2486 { 2487 2488 2489 2490 2491 { 2492 2493 2494 2495 2485 if (!useHitObjects) 2486 { 2487 // store higher order object (e.g., bvh node) instead of object itself 2488 VssRayContainer::const_iterator it, it_end = rays.end(); 2489 2490 for (it = rays.begin(); it != it_end; ++ it) 2491 { 2492 VssRay *vssRay = *it; 2493 2494 // set only the termination object 2495 vssRay->mTerminationObject = GetIntersectable(*vssRay, true); 2496 2496 } 2497 2497 } … … 5723 5723 { 5724 5724 if (mUseKdPvs) 5725 5725 return ViewCellsManager::GetIntersectable(ray, isTermination); 5726 5726 else 5727 5727 return mHierarchyManager->GetIntersectable(ray, isTermination); 5728 5728 } 5729 5729
Note: See TracChangeset
for help on using the changeset viewer.