cubicBezier function
dynamic
cubicBezier(
- dynamic t,
- dynamic p0,
- dynamic p1,
- dynamic p2,
- dynamic p3,
Implementation
cubicBezier(t, p0, p1, p2, p3) {
return cubicBezierP0(t, p0) +
cubicBezierP1(t, p1) +
cubicBezierP2(t, p2) +
cubicBezierP3(t, p3);
}