interpolateAngle

Perform linear interpolation like interpolate, but interpolates correctly when they wrap around 1 revolution (360 degrees).

Return

The interpolated value.

Parameters

a

The start angle.

b

The end angle.

t

The interpolation parameter.