GLM Version 0.9.0
|
GLM_GTC_matrix_transform extension: Add transformation matrices. More...
Functions | |
template<typename T > | |
detail::tmat4x4< T > | rotate (detail::tmat4x4< T > const &m, T const &angle, detail::tvec3< T > const &v) |
Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees. | |
template<typename T > | |
detail::tmat4x4< T > | scale (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v) |
Builds a scale 4 * 4 matrix created from 3 scalars. | |
template<typename T > | |
detail::tmat4x4< T > | translate (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v) |
Builds a translation 4 * 4 matrix created from a vector of 3 components. |
GLM_GTC_matrix_transform extension: Add transformation matrices.
detail::tmat4x4<T> glm::gtc::matrix_transform::rotate | ( | detail::tmat4x4< T > const & | m, |
T const & | angle, | ||
detail::tvec3< T > const & | v | ||
) |
Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees.
From GLM_GTC_matrix_transform extension.
detail::tmat4x4<T> glm::gtc::matrix_transform::scale | ( | detail::tmat4x4< T > const & | m, |
detail::tvec3< T > const & | v | ||
) |
Builds a scale 4 * 4 matrix created from 3 scalars.
From GLM_GTC_matrix_transform extension.
detail::tmat4x4<T> glm::gtc::matrix_transform::translate | ( | detail::tmat4x4< T > const & | m, |
detail::tvec3< T > const & | v | ||
) |
Builds a translation 4 * 4 matrix created from a vector of 3 components.
From GLM_GTC_matrix_transform extension.