コード例 #1
0
 public static Func <double, double> ToAndFro1(Func <double, double> easer, double b, double c, double d)
 {
     return(t => ToAndFroValueEasingTests.ToAndFro(easer(t), b, c, d));
 }
コード例 #2
0
 public static Func <double, double> ToAndFro1(Func <double, double> easer1, Func <double, double> easer2, double b, double c, double d)
 {
     return(t => (t < OneHalf) ? ToAndFroValueEasingTests.ToAndFro(easer1(t), b, c, d) : ToAndFroValueEasingTests.ToAndFro(easer2(t), b, c, d));
 }