![]() |
Cinder
0.9.1
|
#include <quaternion.hpp>
Public Types | |
typedef tquat< T, P > | type |
typedef T | value_type |
typedef length_t | length_type |
Public Member Functions | |
GLM_FUNC_DECL GLM_CONSTEXPR length_type | length () const |
GLM_FUNC_DECL T & | operator[] (length_type i) |
GLM_FUNC_DECL T const & | operator[] (length_type i) const |
GLM_FUNC_DECL | tquat () |
GLM_FUNC_DECL | tquat (tquat< T, P > const &q) |
template<precision Q> | |
GLM_FUNC_DECL | tquat (tquat< T, Q > const &q) |
GLM_FUNC_DECL | tquat (ctor) |
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) |
template<typename U , precision Q> | |
GLM_FUNC_DECL | tquat (tquat< U, Q > const &q) |
GLM_FUNC_DECL | tquat (tvec3< T, P > const &u, tvec3< T, P > const &v) |
GLM_FUNC_DECL | tquat (tvec3< T, P > const &eulerAngles) |
GLM_FUNC_DECL | tquat (tmat3x3< T, P > const &m) |
GLM_FUNC_DECL | tquat (tmat4x4< T, P > const &m) |
GLM_FUNC_DECL tquat< T, P > & | operator= (tquat< T, P > const &m) |
template<typename U > | |
GLM_FUNC_DECL tquat< T, P > & | operator= (tquat< U, P > const &m) |
template<typename U > | |
GLM_FUNC_DECL tquat< T, P > & | operator+= (tquat< U, P > const &q) |
template<typename U > | |
GLM_FUNC_DECL tquat< T, P > & | operator*= (tquat< U, P > const &q) |
template<typename U > | |
GLM_FUNC_DECL tquat< T, P > & | operator*= (U s) |
template<typename U > | |
GLM_FUNC_DECL tquat< T, P > & | operator/= (U s) |
template<precision Q> | |
GLM_FUNC_QUALIFIER | tquat (tquat< T, Q > const &q) |
template<typename U, precision Q> | |
GLM_FUNC_QUALIFIER | tquat (tquat< U, Q > const &q) |
template<typename U > | |
GLM_FUNC_QUALIFIER tquat< T, P > & | operator= (tquat< U, P > const &q) |
template<typename U > | |
GLM_FUNC_QUALIFIER tquat< T, P > & | operator+= (tquat< U, P > const &q) |
template<typename U > | |
GLM_FUNC_QUALIFIER tquat< T, P > & | operator*= (tquat< U, P > const &r) |
template<typename U > | |
GLM_FUNC_QUALIFIER tquat< T, P > & | operator*= (U s) |
template<typename U > | |
GLM_FUNC_QUALIFIER tquat< T, P > & | operator/= (U s) |
Public Attributes | |
T | x |
T | y |
T | z |
T | w |
typedef tquat<T, P> glm::tquat< T, P >::type |
typedef T glm::tquat< T, P >::value_type |
typedef length_t glm::tquat< T, P >::length_type |
GLM_FUNC_QUALIFIER glm::tquat< T, P >::tquat | ( | ) |
GLM_FUNC_QUALIFIER glm::tquat< T, P >::tquat | ( | tquat< T, P > const & | q | ) |
GLM_FUNC_DECL glm::tquat< T, P >::tquat | ( | tquat< T, Q > const & | q | ) |
|
explicit |
|
explicit |
GLM_FUNC_QUALIFIER glm::tquat< T, P >::tquat | ( | T const & | w, |
T const & | x, | ||
T const & | y, | ||
T const & | z | ||
) |
GLM_FUNC_DECL glm::tquat< T, P >::tquat | ( | tquat< U, Q > const & | q | ) |
|
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_QUALIFIER glm::tquat< T, P >::tquat | ( | tquat< T, Q > const & | q | ) |
GLM_FUNC_QUALIFIER glm::tquat< T, P >::tquat | ( | tquat< U, Q > const & | q | ) |
GLM_FUNC_QUALIFIER GLM_CONSTEXPR tquat< T, P >::length_type glm::tquat< T, P >::length | ( | ) | const |
Return the count of components of a quaternion.
GLM_FUNC_DECL T& glm::tquat< T, P >::operator[] | ( | length_type | i | ) |
GLM_FUNC_DECL T const& glm::tquat< T, P >::operator[] | ( | length_type | i | ) | const |
GLM_FUNC_QUALIFIER tquat< T, P > & glm::tquat< T, P >::operator= | ( | tquat< T, P > const & | m | ) |
GLM_FUNC_DECL tquat<T, P>& glm::tquat< T, P >::operator= | ( | tquat< U, P > const & | m | ) |
GLM_FUNC_DECL tquat<T, P>& glm::tquat< T, P >::operator+= | ( | tquat< U, P > const & | q | ) |
GLM_FUNC_DECL tquat<T, P>& glm::tquat< T, P >::operator*= | ( | tquat< U, P > const & | q | ) |
GLM_FUNC_DECL tquat<T, P>& glm::tquat< T, P >::operator*= | ( | U | s | ) |
GLM_FUNC_DECL tquat<T, P>& glm::tquat< T, P >::operator/= | ( | U | s | ) |
GLM_FUNC_QUALIFIER tquat<T, P>& glm::tquat< T, P >::operator= | ( | tquat< U, P > const & | q | ) |
GLM_FUNC_QUALIFIER tquat<T, P>& glm::tquat< T, P >::operator+= | ( | tquat< U, P > const & | q | ) |
GLM_FUNC_QUALIFIER tquat<T, P>& glm::tquat< T, P >::operator*= | ( | tquat< U, P > const & | r | ) |
GLM_FUNC_QUALIFIER tquat<T, P>& glm::tquat< T, P >::operator*= | ( | U | s | ) |
GLM_FUNC_QUALIFIER tquat<T, P>& glm::tquat< T, P >::operator/= | ( | U | s | ) |
T glm::tquat< T, P >::x |
T glm::tquat< T, P >::y |
T glm::tquat< T, P >::z |
T glm::tquat< T, P >::w |