Contents

swingTwist(twistAxis:)

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

Declaration

func swingTwist(twistAxis: RotationAxis3DFloat) -> (swing: Rotation3DFloat, twist: Rotation3DFloat)

Return Value

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

Discussion

  • Parameter twistAxis The twist axis.