![]() |
Cinder
0.9.1
|
Functions | |
template<typename T , precision P> | |
GLM_FUNC_DECL bool | glm::decompose (tmat4x4< T, P > const &modelMatrix, tvec3< T, P > &scale, tquat< T, P > &orientation, tvec3< T, P > &translation, tvec3< T, P > &skew, tvec4< T, P > &perspective) |
Decomposes a model matrix to translations, rotation and scale components.
<glm/gtx/decomposition.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL bool glm::decompose | ( | tmat4x4< T, P > const & | ModelMatrix, |
tvec3< T, P > & | Scale, | ||
tquat< T, P > & | Orientation, | ||
tvec3< T, P > & | Translation, | ||
tvec3< T, P > & | Skew, | ||
tvec4< T, P > & | Perspective | ||
) |
Decomposes a model matrix to translations, rotation and scale components
Matrix decompose http://www.opensource.apple.com/source/WebCore/WebCore-514/platform/graphics/transforms/TransformationMatrix.cpp Decomposes the mode matrix to translations,rotation scale components
TODO: Fixme!