#include <Quaternion.h>
Public Member Functions | |
Quaternion () | |
~Quaternion () | |
Quaternion | operator * (Quaternion q) |
void | CreateMatrix (GLfloat *pMatrix) |
void | CreateFromAxisAngle (GLfloat x, GLfloat y, GLfloat z, GLfloat degrees) |
Quaternion::Quaternion | ( | ) |
Constructor.
Quaternion::~Quaternion | ( | ) |
Destructor.
Quaternion Quaternion::operator * | ( | Quaternion | q | ) |
Operator for the multiplication of quaternions.
void Quaternion::CreateMatrix | ( | GLfloat * | pMatrix | ) |
Creates the matrix of this Quaternion.
void Quaternion::CreateFromAxisAngle | ( | GLfloat | x, | |
GLfloat | y, | |||
GLfloat | z, | |||
GLfloat | degrees | |||
) |
Creates the matrix of this quaternion, based on a rotation.