Flow Visualisation
euler_angles.hpp
Go to the documentation of this file.
1 
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
detail::tmat4x4< T > orientate4(detail::tvec3< T > const &angles)
Definition: _detail.hpp:38
valType yaw(detail::tquat< valType > const &x)
Definition: quaternion.inl:614
detail::tmat4x4< valType > eulerAngleYZ(valType const &angleY, valType const &angleZ)
Definition: _swizzle.hpp:43
detail::tmat4x4< valType > eulerAngleYXZ(valType const &yaw, valType const &pitch, valType const &roll)
Definition: euler_angles.inl:120
detail::tmat4x4< valType > eulerAngleZX(valType const &angleZ, valType const &angleX)
Definition: euler_angles.inl:110
detail::tmat4x4< valType > eulerAngleY(valType const &angleY)
Definition: euler_angles.inl:30
detail::tmat3x3< T > orientate3(T const &angle)
detail::tmat4x4< valType > eulerAngleXY(valType const &angleX, valType const &angleY)
Definition: euler_angles.inl:62
valType roll(detail::tquat< valType > const &x)
Definition: quaternion.inl:588
valType pitch(detail::tquat< valType > const &x)
Definition: quaternion.inl:601
detail::tmat4x4< valType > eulerAngleXZ(valType const &angleX, valType const &angleZ)
Definition: euler_angles.inl:100
detail::tmat4x4< valType > eulerAngleZ(valType const &angleZ)
Definition: euler_angles.inl:46
detail::tmat4x4< valType > eulerAngleX(valType const &angleX)
Definition: euler_angles.inl:14
detail::tmat4x4< valType > eulerAngleZY(valType const &angleZ, valType const &angleY)
detail::tmat4x4< valType > yawPitchRoll(valType const &yaw, valType const &pitch, valType const &roll)
Definition: euler_angles.inl:155
valType angle(detail::tquat< valType > const &x)
detail::tmat2x2< T > orientate2(T const &angle)
detail::tmat4x4< valType > eulerAngleYX(valType const &angleY, valType const &angleX)
Definition: euler_angles.inl:81