simd_axis(_:)
Returns the normalized axis about which the action of the specified quaternion rotates.
Declaration
func simd_axis(_ q: simd_quatf) -> simd_float3Parameters
- q:
The source quaternion.
Return Value
The normalized axis about which the action of the source quaternion rotates.
Discussion
This function returns a vector filled with nan if the source quaternion has a rotation of zero radians.