Ignore:
Timestamp:
09/01/08 08:58:38 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2889 r2891  
    151151 
    152152        RenderFrustum(); 
     153 
     154        Vector3 pos = mCamera->GetPosition(); 
     155 
     156        // coordinates 
     157        glColor3f(0.0f, 1.0f, 0.0f); 
     158        glBegin(GL_LINES); 
     159        glVertex3d(pos.x, pos.y, pos.z); 
     160        glVertex3d(pos.x + 100, pos.y, pos.z); 
     161        glEnd(); 
     162 
     163        glColor3f(0.0f, 0.0f, 1.0f); 
     164        glBegin(GL_LINES); 
     165        glVertex3d(pos.x, pos.y, pos.z); 
     166        glVertex3d(pos.x, pos.y + 100, pos.z); 
     167        glEnd(); 
     168 
    153169        //RenderBoxForViz(mBvh->GetBox()); 
    154170         
Note: See TracChangeset for help on using the changeset viewer.