Ignore:
Timestamp:
06/28/08 16:12:59 (16 years ago)
Author:
mattausch
Message:

worked on renderqueue

File:
1 edited

Legend:

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

    r2793 r2802  
    987987} 
    988988 
    989 //int AxisAlignedBox3::GetIndexFarthestVertex(const Vector3 &vecPlaneNormal) 
     989 
    990990int AxisAlignedBox3::GetIndexNearestVertex(const Vector3 &vecPlaneNormal) 
    991991{ 
     
    10001000 
    10011001 
    1002 //int AxisAlignedBox3::GetIndexNearestVertex(const Vector3 &vecPlaneNormal) 
    10031002int AxisAlignedBox3::GetIndexFarthestVertex(const Vector3 &vecPlaneNormal) 
    10041003{ 
     
    10101009         
    10111010        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         else 
    1018                 index = (vecPlaneNormal.y <= 0.0f) ? 1 : 2; 
    1019  
    1020         return (vecPlaneNormal.z <= 0.0f) ? index : 7 - index;*/ 
    10211011} 
    10221012 
Note: See TracChangeset for help on using the changeset viewer.