Ignore:
Timestamp:
10/10/05 15:23:32 (19 years ago)
Author:
mattausch
Message:

queries are realized as templates

Location:
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctree.cpp

    r193 r316  
    108108        else 
    109109                mDepth = 0; 
    110  
     110        // update bounds because we want tight octree 
    111111        _updateBounds(); 
     112         
    112113#endif //GTP_VISIBILITY_MODIFIED_OGRE 
    113114    mNumNodes = 0; 
     
    133134 
    134135    mParent = 0; 
     136 
    135137} 
    136138 
  • trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp

    r158 r316  
    318318 
    319319#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    320         mNumOctreeNodes = 1; // count number of octants 
     320        mNumOctants = 1; // initialise number of octants in tree 
    321321#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    322322 
     
    470470            octant -> mChildren[ x ][ y ][ z ] = new Octree( octant ); 
    471471#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    472         ++ mNumOctreeNodes; 
     472                        ++ mNumOctants; 
    473473#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    474474 
Note: See TracChangeset for help on using the changeset viewer.