Quaternion Class Reference
[System]

Encapsulation of an axis/angle rotation that avoids gimbal lock. More...

#include <Quaternion.hpp>

List of all members.

Public Member Functions

 Quaternion (float angle, const Vector &axis)
Matrix getMatrix () const
Quaternion operator* (const Quaternion &B)
void print ()
void set (float angle, const Vector &axis)
void rotate (float angle, const Vector &axis)
string toString () const

Protected Member Functions

void normalize ()

Private Attributes

float s
Vector v

Detailed Description

Encapsulation of an axis/angle rotation that avoids gimbal lock.


Member Function Documentation

Matrix getMatrix (  )  const

Returns a matrix representing the rotation.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:36 2010 for Gander by  doxygen 1.6.3