OPENVR Scol plugin
Public Member Functions | Public Attributes | List of all members
Quaternion Class Reference

Public Member Functions

 Quaternion (float fW, float fX, float fY, float fZ)
 
 Quaternion (const Matrix3 &rot)
 
float operator[] (const size_t i) const
 
float & operator[] (const size_t i)
 
void FromRotationMatrix (const Matrix3 &kRot)
 
Quaternionoperator= (const Quaternion &rkQ)
 
Quaternion operator+ (const Quaternion &rkQ) const
 
Quaternion operator- (const Quaternion &rkQ) const
 
Quaternion operator* (const Quaternion &rkQ) const
 
Quaternion operator* (float fScalar) const
 
Quaternion operator- () const
 
bool operator== (const Quaternion &rhs) const
 
bool operator!= (const Quaternion &rhs) const
 
float * ptr ()
 
const float * ptr () const
 
float Norm () const
 
float normalise (void)
 
Quaternion Inverse () const
 

Public Attributes

float w
 
float x
 
float y
 
float z
 

Detailed Description

Definition at line 334 of file vrmaths.h.


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