Ignore:
Timestamp:
06/14/08 19:04:01 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/CHC_revisited/Camera.cpp

    r2756 r2760  
    1212        mWidth = 100; 
    1313        mHeight = 100; 
    14         mFovy = 90.0f * M_PI/180.0f; 
     14        mFovy = 90.0f * M_PI / 180.0f; 
    1515} 
    1616 
     
    2121        mHeight = height; 
    2222         
    23         mFovy = fieldOfView * M_PI/180.0f; 
     23        mFovy = fieldOfView * M_PI / 180.0f; 
    2424} 
    2525 
     
    7474void Camera::GetProjectionMatrix(Matrix4x4 &mat) 
    7575{ 
    76         //float m[16]; 
    77          
    7876        glGetFloatv(GL_PROJECTION_MATRIX, (float *)mat.x); 
    79         //mat = Matrix4x4((const float *)m); 
    8077} 
    8178 
     
    8380void Camera::GetModelViewMatrix(Matrix4x4 &mat) 
    8481{ 
    85         //float m[16]; 
    86  
    8782        glGetFloatv(GL_MODELVIEW_MATRIX, (float *)mat.x); 
    88         //mat = Matrix4f((const float *)m); 
    8983} 
    9084 
     
    10094        matProjectionView *= matViewing; 
    10195 
    102          
    10396        float fInvLength; 
    104  
    10597        float planes[6][4]; 
    10698 
Note: See TracChangeset for help on using the changeset viewer.