Ignore:
Timestamp:
10/24/08 12:29:30 (16 years ago)
Author:
mattausch
Message:

found bug with near plane intersection: q? why did it work with vbo rendering? (probably because of tighter bounds ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/AxisAlignedBox3.cpp

    r3021 r3065  
    5656{ 
    5757        return (mMin == Vector3(-MAXFLOAT)) ||  
    58                 (mMax == Vector3(-MAXFLOAT)); 
     58                   (mMax == Vector3(-MAXFLOAT)); 
    5959} 
    6060 
     
    216216AxisAlignedBox3::IsInside(const Vector3 &v) const 
    217217{ 
    218         return ! ((v.x < mMin.x) || 
    219                 (v.x > mMax.x) || 
    220                 (v.y < mMin.y) || 
    221                 (v.y > mMax.y) || 
    222                 (v.z < mMin.z) || 
    223                 (v.z > mMax.z)); 
     218        return !((v.x < mMin.x) || 
     219                    (v.x > mMax.x) || 
     220                        (v.y < mMin.y) || 
     221                        (v.y > mMax.y) || 
     222                        (v.z < mMin.z) || 
     223                        (v.z > mMax.z)); 
    224224} 
    225225 
Note: See TracChangeset for help on using the changeset viewer.