quadraticBezierP1 static method

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

Implementation

static double quadraticBezierP1(double t, double p) {
  return 2 * (1 - t) * t * p;
}