Exemplo n.º 1
0
        public float Interpolate()
        {
            if (!Enabled)
            {
                return(target);
            }

            current = (float)BeardedMath.Lerp(current, target, LerpT);
            return(current);
        }
Exemplo n.º 2
0
 public static float Interpolate(float from, float to, float t)
 {
     return(BeardedMath.Lerp(from, to, t));
 }
Exemplo n.º 3
0
 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));
 }