Skip to content

raylib.DrawSplineSegmentBasis

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline segment: B-Spline, 4 points

Parameters

Parameter Default Value Note
p1
p2
p3
p4
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a single B-Spline segment defined by four control points
raylib.DrawSplineSegmentBasis [50, 200], [100, 50], [200, 250], [300, 150], 2, raylib.RED

Clone this wiki locally