Go to the source code of this file.
Defines | |
#define | QUAT_W 0 |
#define | QUAT_X 1 |
#define | QUAT_Y 2 |
#define | QUAT_Z 3 |
Typedefs | |
typedef float | MPUQuaternion [4] |
Functions | |
void | MPUQuaternionConjugate (const MPUQuaternion s, MPUQuaternion d) |
void | MPUQuaternionEulerToQuaternion (const MPUVector3 v, MPUQuaternion q) |
void | MPUQuaternionMultiply (const MPUQuaternion qa, const MPUQuaternion qb, MPUQuaternion qd) |
float | MPUQuaternionNorm (MPUQuaternion q) |
void | MPUQuaternionNormalize (MPUQuaternion q) |
void | MPUQuaternionQuaternionToEuler (const MPUQuaternion q, MPUVector3 v) |
#define QUAT_W 0 |
Definition at line 30 of file MPUQuaternion.h.
#define QUAT_X 1 |
Definition at line 31 of file MPUQuaternion.h.
#define QUAT_Y 2 |
Definition at line 32 of file MPUQuaternion.h.
#define QUAT_Z 3 |
Definition at line 33 of file MPUQuaternion.h.
typedef float MPUQuaternion[4] |
Definition at line 35 of file MPUQuaternion.h.
void MPUQuaternionConjugate | ( | const MPUQuaternion | s, |
MPUQuaternion | d | ||
) |
Definition at line 68 of file MPUQuaternion.cpp.
void MPUQuaternionEulerToQuaternion | ( | const MPUVector3 | v, |
MPUQuaternion | q | ||
) |
Definition at line 52 of file MPUQuaternion.cpp.
void MPUQuaternionMultiply | ( | const MPUQuaternion | qa, |
const MPUQuaternion | qb, | ||
MPUQuaternion | qd | ||
) |
Definition at line 76 of file MPUQuaternion.cpp.
float MPUQuaternionNorm | ( | MPUQuaternion | q | ) | [inline] |
Definition at line 43 of file MPUQuaternion.h.
void MPUQuaternionNormalize | ( | MPUQuaternion | q | ) |
Definition at line 26 of file MPUQuaternion.cpp.
void MPUQuaternionQuaternionToEuler | ( | const MPUQuaternion | q, |
MPUVector3 | v | ||
) |
Definition at line 38 of file MPUQuaternion.cpp.