Changeset 316 for trunk/VUT/work/ogre_changes/Plugins
- Timestamp:
- 10/10/05 15:23:32 (19 years ago)
- Location:
- trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/include/OgreOctree.h
r193 r316 208 208 int mDepth; 209 209 210 211 210 #endif // GTP_VISIBILITY_MODIFIED_OGRE 212 211 }; -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/include/OgreOctreeSceneManager.h
r193 r316 261 261 262 262 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 263 /* the number of nodes in the octree. do not confuse this with the OctreeNode264 class with is derived from SceneNode.263 /** The number of nodes in the octree. 264 @remark counts the octree hierarchy nodes in the tree. 265 265 */ 266 int mNumOct reeNodes;266 int mNumOctants; 267 267 #endif // GTP_VISIBILITY_MODIFIED_OGRE 268 268 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/include/OgreTerrainRenderable.h
r193 r316 49 49 50 50 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 51 #define MAX_RENDERLEVEL_INDEX 15 51 #define MAX_RENDERLEVEL_INDEX 15 // maximal different number of render levels, e.g., used for chc 52 52 #endif // GTP_VISIBILITY_MODIFIED_OGRE 53 53 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctree.cpp
r193 r316 108 108 else 109 109 mDepth = 0; 110 110 // update bounds because we want tight octree 111 111 _updateBounds(); 112 112 113 #endif //GTP_VISIBILITY_MODIFIED_OGRE 113 114 mNumNodes = 0; … … 133 134 134 135 mParent = 0; 136 135 137 } 136 138 -
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp
r158 r316 318 318 319 319 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 320 mNumOct reeNodes = 1; // count number of octants320 mNumOctants = 1; // initialise number of octants in tree 321 321 #endif // GTP_VISIBILITY_MODIFIED_OGRE 322 322 … … 470 470 octant -> mChildren[ x ][ y ][ z ] = new Octree( octant ); 471 471 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 472 ++ mNumOctreeNodes;472 ++ mNumOctants; 473 473 #endif // GTP_VISIBILITY_MODIFIED_OGRE 474 474
Note: See TracChangeset
for help on using the changeset viewer.