Changeset 159 for trunk/VUT/work/ogre_changes
- Timestamp:
- 07/06/05 17:52:44 (20 years ago)
- Location:
- trunk/VUT/work/ogre_changes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/include/OgreSceneManager.h
r139 r159 156 156 157 157 /** Renders an Ogre MovableObject. 158 @param mov the movable object to be rendered 159 @param leavePassesInQueue flag determining the passes which are left 160 in render queue after rendering 158 161 */ 159 162 void _renderMovableObject(MovableObject *mov, const int leavePassesInQueue); 160 163 164 /** Tells the scene manager that the frame ends (i.e., 165 one frame in the main loop. 166 */ 167 virtual void endFrame() {}; 161 168 #endif // GTP_VISIBILITY_MODIFIED_OGRE 162 169 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/include/OgreTerrainRenderable.h
r154 r159 299 299 300 300 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 301 // index of renderlevel used for current pass302 static int getCurrentRenderLevelIndex();303 // returnsindex of renderlevel304 static void setCurrentRenderLevelIndex(int index);301 // resets index of renderlevel used for current pass 302 static void ResetRenderLevelIndex(); 303 // next index of renderlevel 304 static void NextRenderLevelIndex(); 305 305 #endif // GTP_VISIBILITY_MODIFIED_OGRE 306 306 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreTerrainRenderable.cpp
r154 r159 1501 1501 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 1502 1502 //----------------------------------------------------------------------- 1503 int TerrainRenderable::getCurrentRenderLevelIndex()1503 void TerrainRenderable::ResetRenderLevelIndex() 1504 1504 { 1505 return msCurrentRenderLevelIndex;1505 msCurrentRenderLevelIndex = 0; 1506 1506 } 1507 1507 //----------------------------------------------------------------------- 1508 void TerrainRenderable:: setCurrentRenderLevelIndex(int index)1508 void TerrainRenderable::NextRenderLevelIndex() 1509 1509 { 1510 if (index > MAX_RENDERLEVEL_INDEX) 1511 index = 0; 1512 1513 msCurrentRenderLevelIndex = index; 1510 if ((++ msCurrentRenderLevelIndex) > MAX_RENDERLEVEL_INDEX) 1511 msCurrentRenderLevelIndex = 0; 1514 1512 } 1515 1513 #endif // GTP_VISIBILITY_MODIFIED_OGRE
Note: See TracChangeset
for help on using the changeset viewer.