41 #include "../mat4x4.hpp" 42 #include "../vec3.hpp" 43 #include "../vec4.hpp" 44 #include "../gtc/quaternion.hpp" 45 #include "../gtc/matrix_transform.hpp" 47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 48 # pragma message("GLM: GLM_GTX_decomposition extension included") 58 template <
typename T, precision P>
60 detail::tmat4x4<T, P>
const & modelMatrix,
61 detail::tvec3<T, P> &
scale, detail::tquat<T, P> &
orientation, detail::tvec3<T, P> & translation, detail::tvec3<T, P> & skew, detail::tvec4<T, P> &
perspective);
66 #include "matrix_decompose.inl" GLM_FUNC_DECL bool decompose(detail::tmat4x4< T, P > const &modelMatrix, detail::tvec3< T, P > &scale, detail::tquat< T, P > &orientation, detail::tvec3< T, P > &translation, detail::tvec3< T, P > &skew, detail::tvec4< T, P > &perspective)
GLM_FUNC_DECL detail::tmat4x4< T, P > orientation(detail::tvec3< T, P > const &Normal, detail::tvec3< T, P > const &Up)