Contents

==(_:_:)

Returns a Boolean value indicating whether two angles are equal.

Declaration

static func == (lhs: Angle2DFloat, rhs: Angle2DFloat) -> Bool

Parameters

  • lhs:

    The first angle to compare.

  • rhs:

    The second angle to compare.

Discussion

Note that this operator compares the raw value of each angle and doesn’t normalize the values. For example, 360° does not 0°.