Exemplo n.º 1
0
 public static float InOutBounce(float t) =>
 (double)t < 0.5 ? Easy.InBounce(t * 2f) * 0.5f : (float)((double)Easy.OutBounce((float)(((double)t - 0.5) * 2.0)) * 0.5 + 0.5);
Exemplo n.º 2
0
 public static float InBounce(float t) => 1f - Easy.OutBounce(1f - t);