/// <inheritdoc/> public override double Ease(double progress) { double p = progress; if (p < 0.5d) { return(0.5f * (1 - BounceEaseUtils.Bounce(1 - (p * 2)))); } else { return(0.5f * BounceEaseUtils.Bounce(p * 2 - 1) + 0.5f); } }
/// <inheritdoc/> public override double Ease(double progress) { return(1 - BounceEaseUtils.Bounce(1 - progress)); }