#include <Quaternion.h>
Public Member Functions | |
Quaternion () | |
Quaternion (float ix, float iy, float iz, float iw) | |
Quaternion (const Vec3f &axis, float angle) | |
float | norm () const |
void | normalize () |
Quaternion | conj () const |
Quaternion | operator * (float f) const |
Quaternion | operator * (const Quaternion &q2) const |
Vec3f | operator * (const Vec3f &v) const |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Quaternion::Quaternion | ( | ) | [inline] |
Quaternion::Quaternion | ( | float | ix, | |
float | iy, | |||
float | iz, | |||
float | iw | |||
) | [inline] |
Quaternion::Quaternion | ( | const Vec3f & | axis, | |
float | angle | |||
) |
float Quaternion::norm | ( | ) | const |
void Quaternion::normalize | ( | ) |
Quaternion Quaternion::conj | ( | ) | const |
Quaternion Quaternion::operator * | ( | float | f | ) | const |
Quaternion Quaternion::operator * | ( | const Quaternion & | q2 | ) | const |
float Quaternion::x |
float Quaternion::y |
float Quaternion::z |
float Quaternion::w |