Skip to content

raylib.DrawSplineBasis

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline: B-Spline, minimum 4 points

Parameters

Parameter Default Value Note
points
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a B-Spline through five control points
pts = [[50, 200], [100, 50], [200, 250], [300, 50], [350, 200]]
raylib.DrawSplineBasis pts, 2, raylib.RED

Clone this wiki locally