RavEngine
Loading...
Searching...
No Matches
rotate_normalized_axis.hpp
Go to the documentation of this file.
1
14
15
#pragma once
16
17
// Dependency:
18
#include "../glm.hpp"
19
#include "../gtc/epsilon.hpp"
20
#include "../gtc/quaternion.hpp"
21
22
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23
# ifndef GLM_ENABLE_EXPERIMENTAL
24
# pragma message("GLM: GLM_GTX_rotate_normalized_axis is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
25
# else
26
# pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included")
27
# endif
28
#endif
29
30
namespace
glm
31
{
34
46
template
<
typename
T, qualifier Q>
47
GLM_FUNC_DECL mat<4, 4, T, Q>
rotateNormalizedAxis
(
48
mat<4, 4, T, Q>
const
& m,
49
T
const
&
angle
,
50
vec<3, T, Q>
const
& axis);
51
59
template
<
typename
T, qualifier Q>
60
GLM_FUNC_DECL qua<T, Q>
rotateNormalizedAxis
(
61
qua<T, Q>
const
& q,
62
T
const
&
angle
,
63
vec<3, T, Q>
const
& axis);
64
66
}
//namespace glm
67
68
#include "rotate_normalized_axis.inl"
glm::angle
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Definition
quaternion_trigonometric.inl:6
glm::rotateNormalizedAxis
GLM_FUNC_DECL mat< 4, 4, T, Q > rotateNormalizedAxis(mat< 4, 4, T, Q > const &m, T const &angle, vec< 3, T, Q > const &axis)
Definition
rotate_normalized_axis.inl:7
glm
Core features
Definition
common.hpp:21
RavEngine
deps
glm
glm
gtx
rotate_normalized_axis.hpp
Generated by
1.9.8