easeInOut method

double easeInOut(
  1. double k
)
override

Implementation

double easeInOut(double k) {
  return 0.5 * (1 - cos(pi * k));
}