Ignore:
Timestamp:
11/03/05 19:31:56 (19 years ago)
Author:
bittner
Message:

vsspreprocessor kdtree meshkdtree optimization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/AxisAlignedBox3.h

    r372 r376  
    8484    if ( (value >=mMin[axis]) && (value <= mMax[axis]) ) 
    8585      if (right) 
    86        mMin[axis] = value; 
     86                                mMin[axis] = value; 
    8787      else 
    8888        mMax[axis] = value; 
    8989  } 
    90  
     90         
    9191  // the size of the box along all the axes 
    9292  Vector3 Size() const { return mMax - mMin; } 
     
    174174    Vector3 size = Size(); 
    175175    return mMin + Vector3(RandomValue(0, size.x), 
    176                           RandomValue(0, size.y), 
    177                           RandomValue(0, size.z));  
     176                                                                                                        RandomValue(0, size.y), 
     177                                                                                                        RandomValue(0, size.z));  
    178178  } 
    179179   
Note: See TracChangeset for help on using the changeset viewer.