Method b3GetAxisAngle
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3GetAxisAngle(out float, Quaternion)
Extracts the axis and angle of a rotation.
public static Vector3 b3GetAxisAngle(out float radians, Quaternion q)Parameters
radiansfloat-
Receives the rotation angle in radians.
qQuaternion-
The rotation, which is assumed to be normalized.
Returns
- Vector3
-
The rotation axis, or the zero vector for the identity rotation.