- Main Page
- Related Pages
- Modules
- Files

- File List

euler_angles.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 #ifndef GLM_GTX_euler_angles
40 #define GLM_GTX_euler_angles GLM_VERSION
41
42 // Dependency:
43 #include "../glm.hpp"
44 #include "../gtc/half_float.hpp"
45
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTX_euler_angles extension included")
48 #endif
49
50 namespace glm
51 {
54
57 template <typename valType>
58 detail::tmat4x4<valType> eulerAngleX(
59 valType const & angleX);
60
63 template <typename valType>
64 detail::tmat4x4<valType> eulerAngleY(
65 valType const & angleY);
66
69 template <typename valType>
70 detail::tmat4x4<valType> eulerAngleZ(
71 valType const & angleZ);
72
75 template <typename valType>
76 detail::tmat4x4<valType> eulerAngleXY(
77 valType const & angleX,
78 valType const & angleY);
79
82 template <typename valType>
83 detail::tmat4x4<valType> eulerAngleYX(
84 valType const & angleY,
85 valType const & angleX);
86
89 template <typename valType>
90 detail::tmat4x4<valType> eulerAngleXZ(
91 valType const & angleX,
92 valType const & angleZ);
93
96 template <typename valType>
97 detail::tmat4x4<valType> eulerAngleZX(
98 valType const & angleZ,
99 valType const & angleX);
100
103 template <typename valType>
104 detail::tmat4x4<valType> eulerAngleYZ(
105 valType const & angleY,
106 valType const & angleZ);
107
110 template <typename valType>
111 detail::tmat4x4<valType> eulerAngleZY(
112 valType const & angleZ,
113 valType const & angleY);
114
117 template <typename valType>
118 detail::tmat4x4<valType> eulerAngleYXZ(
119 valType const & yaw,
120 valType const & pitch,
121 valType const & roll);
122
125 template <typename valType>
126 detail::tmat4x4<valType> yawPitchRoll(
127 valType const & yaw,
128 valType const & pitch,
129 valType const & roll);
130
133 template <typename T>
134 detail::tmat2x2<T> orientate2(T const & angle);
135
138 template <typename T>
139 detail::tmat3x3<T> orientate3(T const & angle);
140
143 template <typename T>
144 detail::tmat3x3<T> orientate3(detail::tvec3<T> const & angles);
145
148 template <typename T>
149 detail::tmat4x4<T> orientate4(detail::tvec3<T> const & angles);
150
152 }//namespace glm
153
154 #include "euler_angles.inl"
155
156 #endif//GLM_GTX_euler_angles