easeInBack static method

double easeInBack(
  1. double t
)

Back easing in.

Implementation

static double easeInBack(double t) {
  const c1 = 1.70158;
  const c3 = c1 + 1.0;
  return c3 * t * t * t - c1 * t * t;
}