matrix_decompose.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependencies
41 #include "../mat4x4.hpp"
42 #include "../vec3.hpp"
43 #include "../vec4.hpp"
44 #include "../gtc/quaternion.hpp"
45 #include "../gtc/matrix_transform.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_decomposition extension included")
49 #endif
50 
51 namespace glm
52 {
55 
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);
62 
64 }//namespace glm
65 
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 > scale(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
GLM_FUNC_DECL detail::tmat4x4< T, defaultp > perspective(T const &fovy, T const &aspect, T const &near, T const &far)
#define GLM_FUNC_DECL
Definition: setup.hpp:728
GLM_FUNC_DECL detail::tmat4x4< T, P > orientation(detail::tvec3< T, P > const &Normal, detail::tvec3< T, P > const &Up)


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:31