CubicBezierP2 function

dynamic CubicBezierP2(
  1. dynamic t,
  2. dynamic p
)

Implementation

CubicBezierP2(t, p) {
  return 3 * (1 - t) * t * t * p;
}