! Fills \p m with the Camera projection matrix values. Based on computeProjectionMatrix() to make sure the Camera projection matrix is up to date. This matrix only reflects the Camera's internal parameters and it may differ from the \c GL_PROJECTION matrix retrieved using \c glGetDoublev(GL_PROJECTION_MATRIX, m). It actually represents the state of the \c GL_PROJECTION after QGLViewer::preDr
| 619 | |
| 620 | See also getModelViewMatrix() and setFromProjectionMatrix(). */ |
| 621 | void Camera::getProjectionMatrix(GLdouble m[16]) const |
| 622 | { |
| 623 | computeProjectionMatrix(); |
| 624 | for (unsigned short i=0; i<16; ++i) |
| 625 | m[i] = projectionMatrix_[i]; |
| 626 | } |
| 627 | |
| 628 | /*! Overloaded getProjectionMatrix(GLdouble m[16]) method using a \c GLfloat array instead. */ |
| 629 | void Camera::getProjectionMatrix(GLfloat m[16]) const |
nothing calls this directly
no outgoing calls
no test coverage detected