-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetSplinePointLinear
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get spline point for a given t [0.0f .. 1.0f], Linear
| Parameter | Default Value | Note |
|---|---|---|
| startPos | ||
| endPos | ||
| t |
| Condition | Return Value |
|---|---|
| (always) | map |
// Get the midpoint on a linear segment between two points
pt = raylib.GetSplinePointLinear([0,0], [200,100], 0.5)
print "Midpoint: " + pt[0] + ", " + pt[1]