rotate_normalized_axis.hpp
Go to the documentation of this file.
1 
40 #pragma once
41 
42 // Dependency:
43 #include "../glm.hpp"
44 #include "../gtc/epsilon.hpp"
45 #include "../gtc/quaternion.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included")
49 #endif
50 
51 namespace glm
52 {
55 
67  template <typename T, precision P>
68  GLM_FUNC_DECL detail::tmat4x4<T, P> rotateNormalizedAxis(
69  detail::tmat4x4<T, P> const & m,
70  T const & angle,
71  detail::tvec3<T, P> const & axis);
72 
80  template <typename T, precision P>
81  GLM_FUNC_DECL detail::tquat<T, P> rotateNormalizedAxis(
82  detail::tquat<T, P> const & q,
83  T const & angle,
84  detail::tvec3<T, P> const & axis);
85 
87 }//namespace glm
88 
89 #include "rotate_normalized_axis.inl"
GLM_FUNC_DECL detail::tvec3< T, P > axis(detail::tquat< T, P > const &x)
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
GLM_FUNC_DECL detail::tmat4x4< T, P > rotateNormalizedAxis(detail::tmat4x4< T, P > const &m, T const &angle, detail::tvec3< T, P > const &axis)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:35:00