move Towards Angle
open fun moveTowardsAngle(current: Measure<Angle>, target: Measure<Angle>, maxDelta: Measure<Angle>): Measure<Angle>
Same as moveTowards, but makes sure the values interpolate correctly when they wrap around 1 revolution (360 degrees).
Return
The new value.
Parameters
current
The current angle.
target
The angle to move towards.
max Delta
The maximum change that should be applied to the value.