Contents

isApproximatelyEqual(to:tolerance:)

Returns a Boolean value that indicates whether two rotations are equal within a specified tolerance.

Declaration

func isApproximatelyEqual(to other: Rotation3DFloat, tolerance: Float = sqrt(.ulpOfOne)) -> Bool

Parameters

  • other:

    The second rotation.

  • tolerance:

    The tolerance of the comparison.