HPS.Quaternion
- struct HPS.Quaternion
Public Static Functions
- Quaternion ComputeRotation (float in_degrees, HPS.Vector in_axis)
Computes a quaternion from a rotation about an axis.
- Param in_degrees
The angle in degrees to rotate.
- Param in_axis
The axis to rotate about.
- Return
The resulting Quaternion object.
- Quaternion ComputeRotation (float in_x, float in_y, float in_z)
Computes a quaternion from a rotation around the primary axes.
- Param in_x
The number of degrees to rotate around the x-axis.
- Param in_y
The number of degrees to rotate around the y-axis.
- Param in_z
The number of degrees to rotate around the z-axis.
- Return
The resulting Quaternion object.