Flow Visualisation
matrix_interpolation.hpp
Go to the documentation of this file.
1 
38 #ifndef GLM_GTX_matrix_interpolation
39 #define GLM_GTX_matrix_interpolation GLM_VERSION
40 
41 // Dependency:
42 //#include "../glm.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
46 #endif
47 
48 namespace glm
49 {
52 
55  template <typename T>
56  void axisAngle(
57  detail::tmat4x4<T> const & mat,
58  detail::tvec3<T> & axis,
59  T & angle);
60 
63  template <typename T>
64  detail::tmat4x4<T> axisAngleMatrix(
65  detail::tvec3<T> const & axis,
66  T const angle);
67 
70  template <typename T>
71  detail::tmat4x4<T> extractMatrixRotation(
72  detail::tmat4x4<T> const & mat);
73 
77  template <typename T>
78  detail::tmat4x4<T> interpolate(
79  detail::tmat4x4<T> const & m1,
80  detail::tmat4x4<T> const & m2,
81  T const delta);
82 
84 }//namespace glm
85 
86 #include "matrix_interpolation.inl"
87 
88 #endif//GLM_GTX_matrix_interpolation
void axisAngle(detail::tmat4x4< T > const &mat, detail::tvec3< T > &axis, T &angle)
Definition: matrix_interpolation.inl:14
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
detail::tmat4x4< T > interpolate(detail::tmat4x4< T > const &m1, detail::tmat4x4< T > const &m2, T const delta)
Definition: matrix_interpolation.inl:114
detail::tmat4x4< T > axisAngleMatrix(detail::tvec3< T > const &axis, T const angle)
Definition: matrix_interpolation.inl:82
detail::tvec3< valType > axis(detail::tquat< valType > const &x)
detail::tmat4x4< T > extractMatrixRotation(detail::tmat4x4< T > const &mat)
Definition: matrix_interpolation.inl:101
valType angle(detail::tquat< valType > const &x)