quadraticBezier function

dynamic quadraticBezier(
  1. dynamic t,
  2. dynamic p0,
  3. dynamic p1,
  4. dynamic p2,
)

Implementation

quadraticBezier(t, p0, p1, p2) {
  return quadraticBezierP0(t, p0) +
      quadraticBezierP1(t, p1) +
      quadraticBezierP2(t, p2);
}