quadraticBezierP0 function

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

Implementation

double quadraticBezierP0(double t, double p) {
  var k = 1 - t;
  return k * k * p;
}