Module angle

Source

Constants§

PI2

Functions§

lerp
linear interpolation for angles, it can lerp clockwise of counterclockwise depends on what is shorter
move_to
move_to takes starting angle, destination angle and velocity and it moves to the destination in most effective direction.
to
returns smallest number needed to get from a to b, absolute value of result newer exceeds PI