cubicBezierP0 static method

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

Implementation

static double cubicBezierP0(double t, double p) {
  final k = 1 - t;
  return k * k * k * p;
}