Пример #1
0
 public static Func <double, double> ToAndFro1(Func <double, double> easer1, Func <double, double> easer2)
 {
     return(t => (t < OneHalf) ? ToAndFroPercentageEasingTests.ToAndFro(easer1(t)) : ToAndFroPercentageEasingTests.ToAndFro(easer2(t)));
 }
 public static Func <double, double> ToAndFro1(Func <double, double> easer)
 {
     return(t => ToAndFroPercentageEasingTests.ToAndFro(easer(t)));
 }