#include <FMQuaternion.h>
Public Member Functions | |
FMQuaternion () | |
Creates an empty FMQuaternion. | |
FMQuaternion (float _x, float _y, float _z, float _w) | |
Creates the FMQuaternion with the given component values. | |
FMQuaternion (const FMVector3 &axis, float angle) | |
Creates the FMQuaternion from a given axis and angle of rotation. | |
operator float * () | |
Get this FMQuaternion as an array of floats . | |
operator const float * () const | |
Get this FMQuaternion as an array of floats . | |
FMQuaternion & | operator= (const float *v) |
Assign this FMQuaternion to the given float array. | |
FMQuaternion | operator * (const FMQuaternion &q) const |
Applys quaternion multiplication of the given FMQuaternion with this FMQuaternion and returns the value. | |
Static Public Member Functions | |
static FMQuaternion | EulerRotationQuaternion (float _x, float _y, float _z) |
Get the FMQuaternion representation of the Euler rotation angles. | |
Public Attributes | |
float | x |
The i component. | |
float | y |
The j component. | |
float | z |
The k component. | |
float | w |
The scalar component. |
Not used within FCollada
[Glaforte 03-08-2006] VERY EXPERIMENTAL CODE: DON'T USE.
|
Creates an empty FMQuaternion. The default values are non deterministic. |
|
Creates the FMQuaternion with the given component values.
|
|
Creates the FMQuaternion from a given axis and angle of rotation.
|
|
Get the FMQuaternion representation of the Euler rotation angles.
|
|
Applys quaternion multiplication of the given FMQuaternion with this FMQuaternion and returns the value.
|
|
Get this FMQuaternion as an array of
|
|
Get this FMQuaternion as an array of
|
|
Assign this FMQuaternion to the given
Assigns each coordinate of this FMQuaternion to the elements in the
|