deltaAngle

open fun deltaAngle(current: Measure<Angle>, target: Measure<Angle>): Measure<Angle>

Calculates the shortest difference between two given angles.

Return

The shortest difference between the two angles.

Parameters

current

The current angle.

target

The target angle.