Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Quaternion Class Reference

#include <Quaternion.h>

List of all members.

Public Member Functions

 Quaternion ()
virtual ~Quaternion ()
void createMatrix (float *pMatrix)
void createFromAxisAngle (float x, float y, float z, float degrees)
Quaternion operator * (Quaternion q)
 Quaternion ()
virtual ~Quaternion ()
void createMatrix (float *pMatrix)
void createFromAxisAngle (float x, float y, float z, float degrees)
Quaternion operator * (Quaternion q)

Private Attributes

float m_x
float m_y
float m_z
float m_w


Detailed Description

Quaternion.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 12 of file DeFacto/Math/Quaternion.h.


Constructor & Destructor Documentation

Quaternion::Quaternion  ) 
 

Quaternion.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file DeFacto/Math/Quaternion.cpp.

References m_w, m_x, m_y, and m_z.

Quaternion::~Quaternion  )  [virtual]
 

Definition at line 14 of file DeFacto/Math/Quaternion.cpp.

Quaternion::Quaternion  ) 
 

virtual Quaternion::~Quaternion  )  [virtual]
 


Member Function Documentation

void Quaternion::createFromAxisAngle float  x,
float  y,
float  z,
float  degrees
 

void Quaternion::createFromAxisAngle float  x,
float  y,
float  z,
float  degrees
 

Definition at line 46 of file DeFacto/Math/Quaternion.cpp.

References m_w, m_x, m_y, m_z, and PI.

Referenced by Camera::setPrespective().

void Quaternion::createMatrix float *  pMatrix  ) 
 

void Quaternion::createMatrix float *  pMatrix  ) 
 

Definition at line 17 of file DeFacto/Math/Quaternion.cpp.

References m_w, m_x, m_y, and m_z.

Referenced by Camera::setPrespective().

Quaternion Quaternion::operator * Quaternion  q  ) 
 

Quaternion Quaternion::operator * Quaternion  q  ) 
 

Definition at line 55 of file DeFacto/Math/Quaternion.cpp.

References m_w, m_x, m_y, and m_z.


Member Data Documentation

float Quaternion::m_w [private]
 

Definition at line 24 of file LevelCreator/Math/Quaternion.h.

Referenced by createFromAxisAngle(), createMatrix(), operator *(), and Quaternion().

float Quaternion::m_x [private]
 

Definition at line 21 of file LevelCreator/Math/Quaternion.h.

Referenced by createFromAxisAngle(), createMatrix(), operator *(), and Quaternion().

float Quaternion::m_y [private]
 

Definition at line 22 of file LevelCreator/Math/Quaternion.h.

Referenced by createFromAxisAngle(), createMatrix(), operator *(), and Quaternion().

float Quaternion::m_z [private]
 

Definition at line 23 of file LevelCreator/Math/Quaternion.h.

Referenced by createFromAxisAngle(), createMatrix(), operator *(), and Quaternion().


Generated on Sun Jun 5 15:50:54 2005 for Defacto by  doxygen 1.4.3