Ignore:
Timestamp:
06/13/07 17:24:15 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2332 r2452  
    159159        mAssumedVisibility = assumedVisibility; 
    160160         
    161         mThreshold = 0; 
    162  
    163         if (mAssumedVisibility > 0) 
     161        if (!mAssumedVisibility) 
     162        { 
     163                mThreshold = 0; 
     164        } 
     165        else 
    164166        { 
    165167                mThreshold = RAND_MAX - RAND_MAX / mAssumedVisibility; 
Note: See TracChangeset for help on using the changeset viewer.