cubicBezierP2 static method

double cubicBezierP2(
  1. double t,
  2. double p
)

Implementation

static double cubicBezierP2(double t, double p) {
  return 3 * (1 - t) * t * t * p;
}