public float Interpolate() { if (!Enabled) { return(target); } current = (float)BeardedMath.Lerp(current, target, LerpT); return(current); }
public static float Interpolate(float from, float to, float t) { return(BeardedMath.Lerp(from, to, t)); }
public static double Interpolate(double from, double to, float t) { return(BeardedMath.Lerp(from, to, t)); }
public static T Interpolate(T from, T to, float t) { return(BeardedMath.Lerp(from, to, t)); }