Skip to content

raylib.DrawSplineSegmentCatmullRom

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline segment: Catmull-Rom, 4 points

Parameters

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

Return value

None.

Notes

Example

// Draw a single Catmull-Rom spline segment through four points
raylib.DrawSplineSegmentCatmullRom [50, 200], [150, 50], [250, 250], [350, 100], 2, raylib.YELLOW

Clone this wiki locally