Derm.Render.Quaternion Struct Reference
Quaternion.
More...
List of all members.
Detailed Description
Quaternion.
Quaternion are used to represents a rotation in a three-dimensional space.
Theory links:
Constructor & Destructor Documentation
Derm.Render.Quaternion.Quaternion |
( |
Vertex3f |
rVector |
) |
|
Construct a Quaternion from rotation Euler axis.
- Parameters:
-
| rVector | A Vertex3f representing the rotation angles (in radians) on Euler axis. |
Derm.Render.Quaternion.Quaternion |
( |
Vertex3f |
rVector, |
|
|
float |
rAngle | |
|
) |
| | |
Quaternion constructor from euler rotation axis and rotation angle.
- Parameters:
-
| rVector | A Vertex3f representing the rotation axis. |
| rAngle | A System.Float representing the rotation angle (in radians). |
This constructor is the base implementation for each other constructor.
Member Function Documentation
void Derm.Render.Quaternion.Conjugate |
( |
|
) |
|
void Derm.Render.Quaternion.Normalize |
( |
|
) |
|
- Parameters:
-
- Returns:
- It returns ModelMatrix representing the equivalent rotation matrix.
Quaternion multiplication.
- Parameters:
-
| q1 | A Quaternion representing the left multiplication operand. |
| q2 | A Quaternion representing the right multiplication operand. |
- Returns:
- It returns the multiplication between two quaternions.
override string Derm.Render.Quaternion.ToString |
( |
|
) |
|
Property Documentation
float Derm.Render.Quaternion.EulerAngle [get, set] |
Vertex3f Derm.Render.Quaternion.EulerAxisAngles [get, set] |
Vertex3f Derm.Render.Quaternion.EulerVector [get, set] |
float Derm.Render.Quaternion.Magnitude [get] |