Changeset 2760 for GTP/trunk/App/Demos/Vis/CHC_revisited/Camera.cpp
- Timestamp:
- 06/14/08 19:04:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/CHC_revisited/Camera.cpp
r2756 r2760 12 12 mWidth = 100; 13 13 mHeight = 100; 14 mFovy = 90.0f * M_PI /180.0f;14 mFovy = 90.0f * M_PI / 180.0f; 15 15 } 16 16 … … 21 21 mHeight = height; 22 22 23 mFovy = fieldOfView * M_PI /180.0f;23 mFovy = fieldOfView * M_PI / 180.0f; 24 24 } 25 25 … … 74 74 void Camera::GetProjectionMatrix(Matrix4x4 &mat) 75 75 { 76 //float m[16];77 78 76 glGetFloatv(GL_PROJECTION_MATRIX, (float *)mat.x); 79 //mat = Matrix4x4((const float *)m);80 77 } 81 78 … … 83 80 void Camera::GetModelViewMatrix(Matrix4x4 &mat) 84 81 { 85 //float m[16];86 87 82 glGetFloatv(GL_MODELVIEW_MATRIX, (float *)mat.x); 88 //mat = Matrix4f((const float *)m);89 83 } 90 84 … … 100 94 matProjectionView *= matViewing; 101 95 102 103 96 float fInvLength; 104 105 97 float planes[6][4]; 106 98
Note: See TracChangeset
for help on using the changeset viewer.