#include <fwd.hpp>
Public Types | |
typedef tvec4< bool, P > | bool_type |
enum | ctor { null } |
typedef T | value_type |
Public Member Functions | |
GLM_FUNC_DECL GLM_CONSTEXPR length_t | length () const |
GLM_FUNC_DECL tquat< T, P > & | operator*= (tquat< T, P > const &q) |
GLM_FUNC_DECL tquat< T, P > & | operator*= (T const &s) |
GLM_FUNC_DECL tquat< T, P > & | operator+= (tquat< T, P > const &q) |
GLM_FUNC_DECL tquat< T, P > & | operator/= (T const &s) |
GLM_FUNC_DECL T & | operator[] (length_t i) |
GLM_FUNC_DECL T const & | operator[] (length_t i) const |
GLM_FUNC_DECL | tquat () |
template<typename U , precision Q> | |
GLM_FUNC_DECL | tquat (tquat< U, Q > const &q) |
GLM_FUNC_DECL | tquat (T const &s, tvec3< T, P > const &v) |
GLM_FUNC_DECL | tquat (T const &w, T const &x, T const &y, T const &z) |
GLM_FUNC_DECL | tquat (detail::tvec3< T, P > const &u, detail::tvec3< T, P > const &v) |
GLM_FUNC_DECL | tquat (tvec3< T, P > const &eulerAngles) |
Build a quaternion from euler angles (pitch, yaw, roll), in radians. More... | |
GLM_FUNC_DECL | tquat (tmat3x3< T, P > const &m) |
GLM_FUNC_DECL | tquat (tmat4x4< T, P > const &m) |
Public Attributes | |
T | w |
T | x |
T | y |
T | z |
typedef tvec4<bool, P> glm::detail::tquat< T, P >::bool_type |
Definition at line 62 of file gtc/quaternion.hpp.
typedef T glm::detail::tquat< T, P >::value_type |
Definition at line 61 of file gtc/quaternion.hpp.
enum glm::detail::tquat::ctor |
Enumerator | |
---|---|
null |
Definition at line 59 of file gtc/quaternion.hpp.
GLM_FUNC_DECL glm::detail::tquat< T, P >::tquat | ( | ) |
|
explicit |
GLM_FUNC_DECL glm::detail::tquat< T, P >::tquat | ( | T const & | s, |
tvec3< T, P > const & | v | ||
) |
GLM_FUNC_DECL glm::detail::tquat< T, P >::tquat | ( | T const & | w, |
T const & | x, | ||
T const & | y, | ||
T const & | z | ||
) |
|
explicit |
Create a quaternion from two normalized axis
u | A first normalized axis |
v | A second normalized axis |
|
explicit |
Build a quaternion from euler angles (pitch, yaw, roll), in radians.
|
explicit |
|
explicit |
GLM_FUNC_DECL GLM_CONSTEXPR length_t glm::detail::tquat< T, P >::length | ( | ) | const |
GLM_FUNC_DECL tquat<T, P>& glm::detail::tquat< T, P >::operator*= | ( | tquat< T, P > const & | q | ) |
GLM_FUNC_DECL tquat<T, P>& glm::detail::tquat< T, P >::operator*= | ( | T const & | s | ) |
GLM_FUNC_DECL tquat<T, P>& glm::detail::tquat< T, P >::operator+= | ( | tquat< T, P > const & | q | ) |
GLM_FUNC_DECL tquat<T, P>& glm::detail::tquat< T, P >::operator/= | ( | T const & | s | ) |
GLM_FUNC_DECL T& glm::detail::tquat< T, P >::operator[] | ( | length_t | i | ) |
GLM_FUNC_DECL T const& glm::detail::tquat< T, P >::operator[] | ( | length_t | i | ) | const |
T glm::detail::tquat< T, P >::w |
Definition at line 65 of file gtc/quaternion.hpp.
T glm::detail::tquat< T, P >::x |
Definition at line 65 of file gtc/quaternion.hpp.
T glm::detail::tquat< T, P >::y |
Definition at line 65 of file gtc/quaternion.hpp.
T glm::detail::tquat< T, P >::z |
Definition at line 65 of file gtc/quaternion.hpp.