Changeset 31
- Timestamp:
- 03/24/05 18:05:48 (20 years ago)
- Location:
- trunk/VUT/OcclusionCullingSceneManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/OcclusionCullingSceneManager/TestCulling/TestCullingApplication.cpp
r30 r31 213 213 { 214 214 unsigned int opt = 0; 215 216 mSceneMgr->getOption("Threshold", &opt); mThresholdInfo->setCaption(": " + opt);217 mSceneMgr->getOption("NumFrustumCulledNodes", &opt); mFrustumCulledNodesInfo->setCaption(": " + opt);218 mSceneMgr->getOption("NumQueryCulledNodes", &opt); mQueryCulledNodesInfo->setCaption(": " + opt);219 mSceneMgr->getOption("NumTraversedNodes", &opt); mTraversedNodesInfo->setCaption(": " + opt);215 char str[100]; 216 mSceneMgr->getOption("Threshold", &opt); sprintf(str,"%d",opt);mThresholdInfo->setCaption(str); 217 mSceneMgr->getOption("NumFrustumCulledNodes", &opt); sprintf(str,"%d",opt); mFrustumCulledNodesInfo->setCaption(str); 218 mSceneMgr->getOption("NumQueryCulledNodes", &opt); sprintf(str,"%d",opt);mQueryCulledNodesInfo->setCaption(str); 219 mSceneMgr->getOption("NumTraversedNodes", &opt); sprintf(str,"%d",opt);mTraversedNodesInfo->setCaption(str); 220 220 } 221 221 //----------------------------------------------------------------------- -
trunk/VUT/OcclusionCullingSceneManager/src/OgreOcclusionCullingSceneManager.cpp
r30 r31 378 378 if ( key == "Threshold" ) 379 379 { 380 * static_cast < int * > ( val ) = mVisibilityThreshold;380 * static_cast < unsigned int * > ( val ) = mVisibilityThreshold; 381 381 return true; 382 382 }
Note: See TracChangeset
for help on using the changeset viewer.