matrices.
|
Functions |
|
template<typename T> |
| detail::_xmat4< T > | frustum (T left, T right, T bottom, T top, T nearVal, T farVal) |
| | Creates a frustum matrix (from GLM_GTX_matrix_projection extension).
|
|
template<typename T> |
| detail::_xmat4< T > | infinitePerspective (T fovy, T aspect, T zNear) |
| | Creates a matrix for a symmetric perspective-view frustum with far plane at infinite (from GLM_GTX_matrix_projection extension).
|
|
template<typename T> |
| detail::_xmat4< T > | ortho2D (T left, T right, T bottom, T top) |
| | Creates a matrix for projecting two-dimensional coordinates onto the screen (from GLM_GTX_matrix_projection extension).
|
|
template<typename T> |
| detail::_xmat4< T > | ortho3D (T left, T right, T bottom, T top, T zNear, T zFar) |
| | Creates a matrix for an orthographic parallel viewing volume (from GLM_GTX_matrix_projection extension).
|
|
template<typename T> |
| detail::_xmat4< T > | perspective (T fovy, T aspect, T zNear, T zFar) |
| | Creates a matrix for a symmetric perspective-view frustum (from GLM_GTX_matrix_projection extension).
|
|
template<typename T, typename U> |
| detail::_xvec3< T > | project (const detail::_xvec3< T > &obj, const detail::_xmat4< T > &model, const detail::_xmat4< T > &proj, const detail::_xvec4< U > &viewport) |
| | Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates (from GLM_GTX_matrix_projection extension).
|
|
template<typename T> |
| detail::_xmat4< T > | tweakedInfinitePerspective (T fovy, T aspect, T zNear) |
| | Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping (from GLM_GTX_matrix_projection extension).
|
|
template<typename T, typename U> |
| detail::_xvec3< T > | unProject (const detail::_xvec3< T > &win, const detail::_xmat4< T > &model, const detail::_xmat4< T > &proj, const detail::_xvec4< U > &viewport) |
| | Map the specified window coordinates (win.x, win.y, win.z) into object coordinates (from GLM_GTX_matrix_projection extension).
|
matrices.