Quaternion Class Reference

#include <Quaternion.h>

List of all members.

Public Member Functions

 Quaternion ()
 ~Quaternion ()
Quaternion operator * (Quaternion q)
void CreateMatrix (GLfloat *pMatrix)
void CreateFromAxisAngle (GLfloat x, GLfloat y, GLfloat z, GLfloat degrees)


Detailed Description

The quaternion class to handle movements.

Constructor & Destructor Documentation

Quaternion::Quaternion (  ) 

Constructor.

Quaternion::~Quaternion (  ) 

Destructor.


Member Function Documentation

Quaternion Quaternion::operator * ( Quaternion  q  ) 

Operator for the multiplication of quaternions.

Returns:
Quaternion.

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.


The documentation for this class was generated from the following files:
Generated on Sun Jan 20 12:10:08 2008 for FlowVis by  doxygen 1.5.4