Build diagonal matrices from vectors. More...
Functions | |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat2x2< T, P > | glm::diagonal2x2 (detail::tvec2< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat2x3< T, P > | glm::diagonal2x3 (detail::tvec2< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat2x4< T, P > | glm::diagonal2x4 (detail::tvec2< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat3x2< T, P > | glm::diagonal3x2 (detail::tvec2< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat3x3< T, P > | glm::diagonal3x3 (detail::tvec3< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat3x4< T, P > | glm::diagonal3x4 (detail::tvec3< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat4x2< T, P > | glm::diagonal4x2 (detail::tvec2< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat4x3< T, P > | glm::diagonal4x3 (detail::tvec3< T, P > const &v) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat4x4< T, P > | glm::diagonal4x4 (detail::tvec4< T, P > const &v) |
Build diagonal matrices from vectors.
<glm/gtx/matrix_operation.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL detail::tmat2x2<T, P> glm::diagonal2x2 | ( | detail::tvec2< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat2x3<T, P> glm::diagonal2x3 | ( | detail::tvec2< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat2x4<T, P> glm::diagonal2x4 | ( | detail::tvec2< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat3x2<T, P> glm::diagonal3x2 | ( | detail::tvec2< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat3x3<T, P> glm::diagonal3x3 | ( | detail::tvec3< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat3x4<T, P> glm::diagonal3x4 | ( | detail::tvec3< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat4x2<T, P> glm::diagonal4x2 | ( | detail::tvec2< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat4x3<T, P> glm::diagonal4x3 | ( | detail::tvec3< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.
GLM_FUNC_DECL detail::tmat4x4<T, P> glm::diagonal4x4 | ( | detail::tvec4< T, P > const & | v | ) |
Build a diagonal matrix. From GLM_GTX_matrix_operation extension.