Ignore:
Timestamp:
08/21/06 17:05:45 (18 years ago)
Author:
szydlowski
Message:

implemented enhanced vis with early abort
also own frame & time counter in demo mode
fixed dependencies in solution file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeCamera.cpp

    r1212 r1250  
    2828{ 
    2929        mEnhancedVisMode = enhanced; 
    30         //if (mEnhancedVisMode) 
    31         //      getVisibility = getVisibilityEnhanced; 
    32         //else 
    33         //      getVisibility = getVisibilitySimple; 
    3430} 
    3531 
     
    4339KdTreeCamera::NodeVisibility KdTreeCamera::getVisibilityEnhanced(const AxisAlignedBox& box) const 
    4440{ 
     41        //++ mNumVisQueries; 
    4542        // Null boxes always invisible 
    4643        if ( box.isNull() ) 
     
    10198KdTreeCamera::NodeVisibility KdTreeCamera::getVisibilitySimple(const AxisAlignedBox& box) const 
    10299{ 
     100        //++ mNumVisQueries; 
     101 
    103102        // dummy 
    104103        FrustumPlane* culledBy = 0; 
Note: See TracChangeset for help on using the changeset viewer.