Changeset 1596 for GTP/trunk/App/Demos/Vis/HillyTerrain
- Timestamp:
- 10/10/06 09:05:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp
r1298 r1596 181 181 182 182 183 ////////// 183 184 //-- overlays 184 185 … … 298 299 // Setup the ray scene query 299 300 Ray mouseRay = mCamera->getCameraToViewportRay(e->getX(), e->getY()); 300 301 //Vector3 queryResult; mRayQueryExecutor->executeRayQuery(&queryResult, mouseRay);302 301 Real val = Math::RangeRandom(0, 360); // random rotation 303 302 … … 449 448 { 450 449 // important for visualization => draw octree bounding boxes 451 mSceneMgr->setOption("ShowOctree", &mShowVisualization); 452 450 //mSceneMgr->setOption("ShowOctree", &mShowVisualization); 451 452 /////////////// 453 453 //-- setup visualization camera 454 454 … … 1184 1184 { 1185 1185 mShowOctree = !mShowOctree; 1186 1187 1186 mSceneMgr->setOption("ShowOctree", &mShowOctree); 1188 1187 }
Note: See TracChangeset
for help on using the changeset viewer.