Changeset 103 for trunk/VUT/work/ogre_changes
- Timestamp:
- 05/18/05 02:06:32 (20 years ago)
- Location:
- trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/include/OgreOctreeSceneManager.h
r61 r103 110 110 @param cam current camera 111 111 */ 112 void _renderOctant(Camera* cam, Octree *octree );112 void _renderOctant(Camera* cam, Octree *octree, bool onlyShadowCasters); 113 113 #endif // GTP_VISIBILITY_MODIFIED_OGRE 114 114 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp
r99 r103 1168 1168 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 1169 1169 //----------------------------------------------------------------------- 1170 void OctreeSceneManager::_renderOctant(Camera *cam, Octree *octant )1170 void OctreeSceneManager::_renderOctant(Camera *cam, Octree *octant, bool onlyShadowCasters) 1171 1171 { 1172 1172 //Add stuff to be rendered; … … 1182 1182 if (cam->isVisible(sn->_getWorldAABB())) 1183 1183 { 1184 sn->_addToRenderQueue(cam, getRenderQueue(), false);1184 sn->_addToRenderQueue(cam, getRenderQueue(), onlyShadowCasters); 1185 1185 //node->_findVisibleObjects(cam, getRenderQueue(), false, mDisplayNodes, false); 1186 1186 mVisible.push_back(sn); … … 1203 1203 { 1204 1204 getRenderQueue()->addRenderable(octant->getWireBoundingBox()); 1205 ++mNumObjects;1205 mBoxes.push_back(octant->getWireBoundingBox()); 1206 1206 } 1207 1207
Note: See TracChangeset
for help on using the changeset viewer.