Public Member Functions

Quaternion Class Reference

Unit quaternion class. More...

#include <Quaternion.h>

List of all members.

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 VectorGetVector () 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 Quaternionoperator*= (const float &fOther)
const Quaternionoperator/= (const float &fOther)
const Quaternionoperator+= (const Quaternion &quaOther)
const Quaternionoperator-= (const Quaternion &quaOther)
const Quaternionoperator*= (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

Detailed Description

Unit quaternion class.

Definition at line 13 of file Quaternion.h.


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