Files Class List
cyQuaternion.h File Reference

Detailed Description

Quaternion class.

Author
Cem Yuksel

This file includes a quaternion class that can be used to rotate 3D vectors. It works with Vec3, Matrix3, and Matrix4 classes. Special thanks to Can Yuksel for his contributions in writing this class.

#include "cyVector.h"
#include "cyMatrix.h"

Classes

class  Quaternion< T >
 Quaternion class. More...
 
class  UnitQuaternion< T >
 A unit-length quaternion class. The methods of this class guarantee that the quaternion remains unit length. More...
 

Typedefs

typedef Quaternion< float > Quatf
 Quaternion class with float elements.
 
typedef Quaternion< double > Quatd
 Quaternion class with double elements.
 
typedef UnitQuaternion< float > UQuatf
 Unit quaternion class with float elements.
 
typedef UnitQuaternion< double > UQuatd
 Unit quaternion class with double elements.
 
typedef cy::Quatf cyQuatf
 Quaternion class with float elements.
 
typedef cy::Quatd cyQuatd
 Quaternion class with double elements.
 
typedef cy::UQuatf cyUQuatf
 Unit quaternion class with float elements.
 
typedef cy::UQuatd cyUQuatd
 Unit quaternion class with double elements.