minus

operator fun minus(other: Rotation): Bearing(source)

Rotate this bearing by the given Rotation anticlockwise, wrapping in [0,360) degrees if necessary.


operator fun minus(other: Bearing): Rotation(source)

Inverse of clockwiseRotationTo. Calculate the nonnegative Rotation such that rotating other by the Rotation brings you to this.

Return

a Rotation in the range [0,360) degrees.