lerpRotation2d
Linearly interpolates an angle, handling wrap-around.
Return
The interpolated angle (in radians).
Parameters
start
The starting angle (in radians).
end
The ending angle (in radians).
t
The interpolation parameter, where 0.0 returns start
, 1.0 returns end
, and values in between return an angle linearly interpolated between start
and end
.