Flow Visualisation
GLM_GTX_matrix_operation

Build diagonal matrices from vectors. More...

Collaboration diagram for GLM_GTX_matrix_operation:

Functions

template<typename valType >
detail::tmat2x2< valType > glm::diagonal2x2 (detail::tvec2< valType > const &v)
 
template<typename valType >
detail::tmat2x3< valType > glm::diagonal2x3 (detail::tvec2< valType > const &v)
 
template<typename valType >
detail::tmat2x4< valType > glm::diagonal2x4 (detail::tvec2< valType > const &v)
 
template<typename valType >
detail::tmat3x2< valType > glm::diagonal3x2 (detail::tvec2< valType > const &v)
 
template<typename valType >
detail::tmat3x3< valType > glm::diagonal3x3 (detail::tvec3< valType > const &v)
 
template<typename valType >
detail::tmat3x4< valType > glm::diagonal3x4 (detail::tvec3< valType > const &v)
 
template<typename valType >
detail::tmat4x2< valType > glm::diagonal4x2 (detail::tvec2< valType > const &v)
 
template<typename valType >
detail::tmat4x3< valType > glm::diagonal4x3 (detail::tvec3< valType > const &v)
 
template<typename valType >
detail::tmat4x4< valType > glm::diagonal4x4 (detail::tvec4< valType > const &v)
 

Detailed Description

Build diagonal matrices from vectors.

<glm/gtx/matrix_operation.hpp> need to be included to use these functionalities.

Function Documentation

template<typename valType >
detail::tmat2x2<valType> glm::diagonal2x2 ( detail::tvec2< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat2x3<valType> glm::diagonal2x3 ( detail::tvec2< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat2x4<valType> glm::diagonal2x4 ( detail::tvec2< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat3x2<valType> glm::diagonal3x2 ( detail::tvec2< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat3x3<valType> glm::diagonal3x3 ( detail::tvec3< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat3x4<valType> glm::diagonal3x4 ( detail::tvec3< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat4x2<valType> glm::diagonal4x2 ( detail::tvec2< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat4x3<valType> glm::diagonal4x3 ( detail::tvec3< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.

template<typename valType >
detail::tmat4x4<valType> glm::diagonal4x4 ( detail::tvec4< valType > const &  v)

Build a diagonal matrix. From GLM_GTX_matrix_operation extension.