DrawSplineCatmullRom method
Draw spline: Catmull-Rom, minimum 4 points
Implementation
void DrawSplineCatmullRom(
List<Vector2> points,
num thick,
Color color,
) => run(
() => _debugLabels.DrawSplineCatmullRom(points, thick, color),
() => _flat.DrawSplineCatmullRom(
Vector2$.ArrayStruct(points),
points.length,
thick.toDouble(),
color,
),
);