Unit quaternion class. More...
#include <Quaternion.h>
Public Member Functions | |
Quaternion (const Vector &vecV, const float fS) | |
Quaternion (const Vector &vecV) | |
Quaternion (const float fAngle, const Vector &vecAxis) | |
Quaternion (const Vector &vecFrom, const Vector &vecTo) | |
void | Set (const Vector &vecV, const float fS) |
void | SetVector (const Vector &vecV) |
void | SetScalar (const float fS) |
const Vector & | GetVector () const |
const float & | GetScalar () const |
const float | GetMagnitude () const |
const Quaternion | GetNormalized () const |
const Quaternion | GetInverse () const |
void | normalize () |
void | invert () |
const bool | operator== (const Quaternion &quaOther) const |
const bool | operator!= (const Quaternion &quaOther) const |
const Quaternion & | operator*= (const float &fOther) |
const Quaternion & | operator/= (const float &fOther) |
const Quaternion & | operator+= (const Quaternion &quaOther) |
const Quaternion & | operator-= (const Quaternion &quaOther) |
const Quaternion & | operator*= (const Quaternion &quaOther) |
const Quaternion | operator* (const float fOther) const |
const Quaternion | operator/ (const float fOther) const |
const Quaternion | operator+ (const Quaternion &quaOther) const |
const Quaternion | operator- (const Quaternion &quaOther) const |
const Quaternion | operator* (const Quaternion &quaOther) const |
const Vector | operator* (const Vector &vecOther) const |
Unit quaternion class.
Definition at line 13 of file Quaternion.h.