PSMoveService
Public Types | Public Member Functions | Public Attributes | List of all members
glm::detail::tquat< T > Struct Template Reference

Template for quaternion. More...

#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 (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.
 
 tquat (tmat3x3< T > const &m)
 
 tquat (tmat4x4< T > const &m)
 
value_type & operator[] (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
 

Detailed Description

template<typename T>
struct glm::detail::tquat< T >

Template for quaternion.

See also
GLM_GTC_quaternion: Quaternion types and functions

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