- Timestamp:
- 10/24/08 12:29:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/AxisAlignedBox3.cpp
r3021 r3065 56 56 { 57 57 return (mMin == Vector3(-MAXFLOAT)) || 58 (mMax == Vector3(-MAXFLOAT));58 (mMax == Vector3(-MAXFLOAT)); 59 59 } 60 60 … … 216 216 AxisAlignedBox3::IsInside(const Vector3 &v) const 217 217 { 218 return ! 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)); 224 224 } 225 225
Note: See TracChangeset
for help on using the changeset viewer.