cubicBezierP1 static method

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

Implementation

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