#include <MQuaternion.h>
List of all members.
Public Member Functions |
| MQuaternion (void) |
| MQuaternion (float val0, float val1, float val2, float val3) |
| MQuaternion (float angle, const MVector3 &axis) |
| MQuaternion (float xAngle, float yAngle, float zAngle) |
| MQuaternion (const MQuaternion &q1, MQuaternion q2, float interpolation) |
MQuaternion | operator* (const MQuaternion &quat) const |
void | operator*= (const MQuaternion &quat) |
MQuaternion | operator- (void) const |
bool | operator== (const MQuaternion &quat) const |
bool | operator!= (const MQuaternion &quat) const |
void | normalize (void) |
void | loadIdentity (void) |
void | setFromAngles (float xAngle, float yAngle, float zAngle) |
void | slerp (const MQuaternion &q1, const MQuaternion &q2, float interpolation) |
void | invert (void) |
void | setFromAngleAxis (float angle, const MVector3 &axis) |
void | setFromVectors (const MVector3 &source, const MVector3 &destination) |
MVector3 | getEulerAngles (void) const |
float | getAngle (void) const |
MVector3 | getAxis (void) const |
Public Attributes |
float | values [4] |
Constructor & Destructor Documentation
MQuaternion::MQuaternion |
( |
void |
| ) |
[inline] |
MQuaternion::MQuaternion |
( |
float |
val0, |
|
|
float |
val1, |
|
|
float |
val2, |
|
|
float |
val3 |
|
) |
| [inline] |
MQuaternion::MQuaternion |
( |
float |
angle, |
|
|
const MVector3 & |
axis |
|
) |
| [inline] |
MQuaternion::MQuaternion |
( |
float |
xAngle, |
|
|
float |
yAngle, |
|
|
float |
zAngle |
|
) |
| [inline] |
Member Function Documentation
float MQuaternion::getAngle |
( |
void |
| ) |
const |
MVector3 MQuaternion::getAxis |
( |
void |
| ) |
const |
MVector3 MQuaternion::getEulerAngles |
( |
void |
| ) |
const |
void MQuaternion::invert |
( |
void |
| ) |
|
void MQuaternion::loadIdentity |
( |
void |
| ) |
|
void MQuaternion::normalize |
( |
void |
| ) |
|
bool MQuaternion::operator!= |
( |
const MQuaternion & |
quat | ) |
const [inline] |
void MQuaternion::operator*= |
( |
const MQuaternion & |
quat | ) |
|
MQuaternion MQuaternion::operator- |
( |
void |
| ) |
const [inline] |
bool MQuaternion::operator== |
( |
const MQuaternion & |
quat | ) |
const [inline] |
void MQuaternion::setFromAngleAxis |
( |
float |
angle, |
|
|
const MVector3 & |
axis |
|
) |
| |
void MQuaternion::setFromAngles |
( |
float |
xAngle, |
|
|
float |
yAngle, |
|
|
float |
zAngle |
|
) |
| |
void MQuaternion::setFromVectors |
( |
const MVector3 & |
source, |
|
|
const MVector3 & |
destination |
|
) |
| |
Member Data Documentation
The documentation for this class was generated from the following files: