matrix_interpolation.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  template <typename T, precision P>
56  detail::tmat4x4<T, P> const & mat,
57  detail::tvec3<T, P> & axis,
58  T & angle);
59 
62  template <typename T, precision P>
63  GLM_FUNC_DECL detail::tmat4x4<T, P> axisAngleMatrix(
64  detail::tvec3<T, P> const & axis,
65  T const angle);
66 
69  template <typename T, precision P>
70  GLM_FUNC_DECL detail::tmat4x4<T, P> extractMatrixRotation(
71  detail::tmat4x4<T, P> const & mat);
72 
76  template <typename T, precision P>
77  GLM_FUNC_DECL detail::tmat4x4<T, P> interpolate(
78  detail::tmat4x4<T, P> const & m1,
79  detail::tmat4x4<T, P> const & m2,
80  T const delta);
81 
83 }//namespace glm
84 
85 #include "matrix_interpolation.inl"
GLM_FUNC_DECL detail::tvec3< T, P > axis(detail::tquat< T, P > const &x)
GLM_FUNC_DECL detail::tmat4x4< T, P > axisAngleMatrix(detail::tvec3< T, P > const &axis, T const angle)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
GLM_FUNC_DECL void axisAngle(detail::tmat4x4< T, P > const &mat, detail::tvec3< T, P > &axis, T &angle)
GLM_FUNC_DECL detail::tmat4x4< T, P > interpolate(detail::tmat4x4< T, P > const &m1, detail::tmat4x4< T, P > const &m2, T const delta)
GLM_FUNC_DECL detail::tmat4x4< T, P > extractMatrixRotation(detail::tmat4x4< T, P > const &mat)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:37:29