0.9.9 API documenation
|
Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension. More...
Functions | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL bool | decompose (mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, tquat< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective) |
Decomposes a model matrix to translations, rotation and scale components. More... | |
Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension.
Decomposes a model matrix to translations, rotation and scale components
GLM_FUNC_DECL bool glm::decompose | ( | mat< 4, 4, T, Q > const & | modelMatrix, |
vec< 3, T, Q > & | scale, | ||
tquat< T, Q > & | orientation, | ||
vec< 3, T, Q > & | translation, | ||
vec< 3, T, Q > & | skew, | ||
vec< 4, T, Q > & | perspective | ||
) |
Decomposes a model matrix to translations, rotation and scale components.