GetSplinePointCatmullRom method
Get (evaluate) spline point: Catmull-Rom
Implementation
Vector2D GetSplinePointCatmullRom(
Vector2D p1,
Vector2D p2,
Vector2D p3,
Vector2D p4,
num t,
) => run(
() => _debugLabels.GetSplinePointCatmullRom(p1, p2, p3, p4, t),
() => _flat.GetSplinePointCatmullRom(
p1,
p2,
p3,
p4,
t.toDouble(),
),
);