Пример #1
0
 private static double BounceEaseInOutImpl(double t, double b, double c, double d)
 {
     if (t < d / 2)
     {
         return(PennerEquations.BounceEaseInImpl(t * 2, 0, c, d) * .5 + b);
     }
     else
     {
         return(PennerEquations.BounceEaseOutImpl(t * 2 - d, 0, c, d) * .5 + c * .5 + b);
     }
 }
Пример #2
0
 private static double BounceEaseInImpl(double t, double b, double c, double d)
 {
     return(c - PennerEquations.BounceEaseOutImpl(d - t, 0, c, d) + b);
 }