Method LerpDegrees
LerpDegrees(double, double, double)
Linearly interpolates between two angles (degrees) along the shortest arc.
public static double LerpDegrees(double a, double b, double t)
Parameters
adoubleStart angle in degrees.
bdoubleEnd angle in degrees.
tdoubleInterpolation factor in [0,1]. Values outside this range extrapolate.
Returns
- double
Interpolated angle in degrees, normalized to [0, 360).