/// <summary> /// /// </summary> /// <param name="t"></param> /// <param name="from"></param> /// <param name="to"></param> /// <returns></returns> public static double Remap(double t, Intervald from, Intervald to) { return(SlurMath.Remap(t, from.A, from.B, to.A, to.B)); }
/// <summary> /// /// </summary> /// <param name="t"></param> /// <param name="from"></param> /// <param name="to"></param> /// <returns></returns> public static float Remap(float t, Intervalf from, Intervalf to) { return(SlurMath.Remap(t, from.A, from.B, to.A, to.B)); }