-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawSplineCatmullRom
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw spline: Catmull-Rom, minimum 4 points
| Parameter | Default Value | Note |
|---|---|---|
| points | ||
| thick | 1.0 | |
| color | WHITE |
None.
// Draw a Catmull-Rom spline through five points
pts = [[50, 200], [100, 50], [200, 250], [300, 50], [350, 200]]
raylib.DrawSplineCatmullRom pts, 2, raylib.YELLOW