- Timestamp:
- 10/24/05 16:37:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctree.cpp
r316 r347 104 104 mParent = parent; 105 105 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 106 if (mParent)107 mDepth = parent->getDepth() + 1;108 else109 mDepth = 0;110 106 // update bounds because we want tight octree 111 _updateBounds();107 if (1) _updateBounds(); 112 108 113 109 #endif //GTP_VISIBILITY_MODIFIED_OGRE … … 219 215 { 220 216 return mParent; 221 }222 //-----------------------------------------------------------------------223 int Octree::getDepth()224 {225 return mDepth;226 217 } 227 218 //-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.