Contents

swingTwist(twistAxis:)

Returns the rotation’s swing-twist decomposition for a given twist axis.

Declaration

func swingTwist(twistAxis: RotationAxis3D) -> (swing: Rotation3D, twist: Rotation3D)

Parameters

  • twistAxis:

    The twist axis.

Return Value

A tuple that contains the swing rotation and the twist rotation.

See Also

Decomposing a 3D rotation structure