All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Eegeo::Quaternion Class Reference

Public Member Functions

 Quaternion (float nx, float ny, float nz, float nw)
 
void Identity ()
 
void Normalise ()
 
void Set (const Eegeo::v3 &v3Axis, float angle)
 
void GetAxisAngle (Eegeo::v3 &v3Axis, float &angle) const
 
void GetMatrix (Eegeo::m44 &matrix) const
 
Eegeo::v3 RotatePoint (Eegeo::v3 point) const
 

Static Public Member Functions

static void Multiply (Quaternion &dest, const Quaternion &source1, const Quaternion &source2)
 
static void Slerp (Quaternion &dest, const Quaternion &source1, const Quaternion &source2, float delta)
 
static Quaternion ExtractQuaternion (const Eegeo::m33 &inMat)
 
static void ExtractQuaternion (Quaternion &outQuat, const Eegeo::m33 &inMat)
 
static Quaternion CreateIdentity ()
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

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