- Timestamp:
- 06/28/08 16:12:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/AxisAlignedBox3.cpp
r2793 r2802 987 987 } 988 988 989 //int AxisAlignedBox3::GetIndexFarthestVertex(const Vector3 &vecPlaneNormal) 989 990 990 int AxisAlignedBox3::GetIndexNearestVertex(const Vector3 &vecPlaneNormal) 991 991 { … … 1000 1000 1001 1001 1002 //int AxisAlignedBox3::GetIndexNearestVertex(const Vector3 &vecPlaneNormal)1003 1002 int AxisAlignedBox3::GetIndexFarthestVertex(const Vector3 &vecPlaneNormal) 1004 1003 { … … 1010 1009 1011 1010 return 4 * x + 2 * y + z; 1012 1013 /*int index;1014 1015 if (vecPlaneNormal.x <= 0.0f)1016 index = (vecPlaneNormal.y <= 0.0f) ? 0 : 3;1017 else1018 index = (vecPlaneNormal.y <= 0.0f) ? 1 : 2;1019 1020 return (vecPlaneNormal.z <= 0.0f) ? index : 7 - index;*/1021 1011 } 1022 1012
Note: See TracChangeset
for help on using the changeset viewer.