XMath::Quaternion Class Reference
#include <Quaternion.h>
List of all members.
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- May 2002
Quaternion class for robust 3D operations (rotation especially).
- Note:
- No inlining has been done yet. All the inlines and other optimizations are to be added in a later stage when we have a better understanding of bottlenecks.
Constructor & Destructor Documentation
XMath::Quaternion::Quaternion |
( |
float |
pitch, |
|
|
float |
yaw, |
|
|
float |
roll |
|
) |
|
|
|
Constructor for creating quaternion from euler angles - Parameters:
-
| pitch | angle for X axis in degrees |
| yaw | angle for Y axis in degrees |
| roll | angle for Z axis in degrees |
|
XMath::Quaternion::Quaternion |
( |
const AxisAngle & |
axisAngle |
) |
|
|
|
Constructor for creating quaternion from axis angle representation - Parameters:
-
| axisAngle | axis-angle representation |
|
Member Function Documentation
|
Passage between matrix->quaternion representation - Parameters:
-
| mat | A valid 4x4 rotation matrix |
|
Matrix4 XMath::Quaternion::ToRotationMatrix |
( |
|
) |
const |
|
|
Passage between quaternion->matrix representation. - Returns:
- A valid 4x4 rotation matrix.
|
The documentation for this class was generated from the following files:
- Quaternion.h
- Quaternion.cpp
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by
1.4.6-NO