-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetSplinePointBasis
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get spline point for a given t [0.0f .. 1.0f], B-Spline
| Parameter | Default Value | Note |
|---|---|---|
| p1 | ||
| p2 | ||
| p3 | ||
| p4 | ||
| t |
| Condition | Return Value |
|---|---|
| (always) | map |
// Get the midpoint on a B-Spline segment
pt = raylib.GetSplinePointBasis([50,200], [100,50], [200,250], [300,150], 0.5)
print "Point: " + pt[0] + ", " + pt[1]