Flow Visualisation
glm::detail::tquat< T > Struct Template Reference

#include <quaternion.hpp>

Public Types

enum  ctor { null }
 
typedef T value_type
 
typedef std::size_t size_type
 

Public Member Functions

GLM_FUNC_DECL size_type length () const
 
 tquat ()
 
 tquat (value_type const &s, glm::detail::tvec3< T > const &v)
 
 tquat (value_type const &w, value_type const &x, value_type const &y, value_type const &z)
 
 tquat (tvec3< T > const &eulerAngles)
 Build a quaternion from euler angles (pitch, yaw, roll), in radians. More...
 
 tquat (tmat3x3< T > const &m)
 
 tquat (tmat4x4< T > const &m)
 
value_typeoperator[] (int i)
 
value_type const & operator[] (int i) const
 
tquat< T > & operator*= (value_type const &s)
 
tquat< T > & operator/= (value_type const &s)
 

Public Attributes

value_type x
 
value_type y
 
value_type z
 
value_type w
 

Member Typedef Documentation

template<typename T>
typedef std::size_t glm::detail::tquat< T >::size_type
template<typename T>
typedef T glm::detail::tquat< T >::value_type

Member Enumeration Documentation

template<typename T>
enum glm::detail::tquat::ctor
Enumerator
null 

Constructor & Destructor Documentation

template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( )
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( value_type const &  s,
glm::detail::tvec3< T > const &  v 
)
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( value_type const &  w,
value_type const &  x,
value_type const &  y,
value_type const &  z 
)
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( tvec3< T > const &  eulerAngles)
explicit

Build a quaternion from euler angles (pitch, yaw, roll), in radians.

template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( tmat3x3< T > const &  m)
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tquat< T >::tquat ( tmat4x4< T > const &  m)
explicit

Member Function Documentation

template<typename T >
GLM_FUNC_QUALIFIER tquat< T >::size_type glm::detail::tquat< T >::length ( ) const
template<typename T >
GLM_FUNC_QUALIFIER tquat< T > & glm::detail::tquat< T >::operator*= ( value_type const &  s)
template<typename T >
GLM_FUNC_QUALIFIER tquat< T > & glm::detail::tquat< T >::operator/= ( value_type const &  s)
template<typename T >
GLM_FUNC_QUALIFIER tquat< T >::value_type & glm::detail::tquat< T >::operator[] ( int  i)
template<typename T >
GLM_FUNC_QUALIFIER tquat< T >::value_type const & glm::detail::tquat< T >::operator[] ( int  i) const

Member Data Documentation

template<typename T>
value_type glm::detail::tquat< T >::w
template<typename T>
value_type glm::detail::tquat< T >::x
template<typename T>
value_type glm::detail::tquat< T >::y
template<typename T>
value_type glm::detail::tquat< T >::z

The documentation for this struct was generated from the following files: