Skip to content

raylib.GetSplinePointBezierQuadratic

JoeStrout edited this page Oct 17, 2026 · 1 revision

Get spline point for a given t [0.0f .. 1.0f], Quadratic Bezier

Parameters

Parameter Default Value Note
p1
c2
p3
t

Return value

Condition Return Value
(always) map

Notes

Renamed from GetSplinePointBezierQuad in raylib 6.2.

Example

// Get the midpoint on a quadratic Bezier segment
pt = raylib.GetSplinePointBezierQuadratic([50,200], [200,50], [350,200], 0.5)
print "Point: " + pt.x + ", " + pt.y

Clone this wiki locally