lerp_angle
Returns the linear interpolation angle of two input values by the given amount.
Arguments
- direction : direction
- new_direction : new direction
- amount : amount to interpolate
Returns : double
Source code
return argument0+(sin(degtorad(argument1-argument0))*argument2);