easeInOutCubic static method

double easeInOutCubic(
  1. double t
)

Implementation

static double easeInOutCubic(double t) {
  return t < 0.5 ? 4 * t * t * t : 1 - pow(-2 * t + 2, 3) / 2;
}