- Timestamp:
- 06/14/07 17:24:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreVisibilityOptionsManager.cpp
r2171 r2455 24 24 return true; 25 25 } 26 26 27 if (key == "Threshold") 27 28 { … … 36 37 if (key == "TestGeometryForVisibleLeaves") 37 38 { 38 m HierarchyInterface->TestGeometryForVisibleLeaves(*static_cast<const bool *>(val));39 mVisibilityManager->SetTestGeometryForVisibleLeaves(*static_cast<const bool *>(val)); 39 40 return true; 40 41 } … … 75 76 return true; 76 77 } 78 if (key == "TestGeometryForVisibleLeaves") 79 { 80 * static_cast<bool *>(val) = 81 mVisibilityManager->GetTestGeometryForVisibleLeaves(); 82 return true; 83 } 84 if (key == "AssumedVisibility") 85 { 86 * static_cast<unsigned int *>(val) = 87 mVisibilityManager->GetAssumedVisibilityForChc(); 88 return true; 89 } 90 if (key == "TestGeometryForVisibleLeaves") 91 { 92 * static_cast<unsigned int *>(val) = 93 mVisibilityManager->GetRandomUpdateCandidatesForRuc(); 94 return true; 95 } 77 96 78 97 return false;
Note: See TracChangeset
for help on using the changeset viewer.