WARNING: RENAMED: GetSplinePointBezierQuad() to GetSplinePointBezierQuadratic()

Consistent with similar spline functions and avoid confusion with `Quad` related functions.
This commit is contained in:
Ray
2026-04-27 11:47:48 +02:00
parent c9c26d8071
commit 98efce4b0d
2 changed files with 2 additions and 2 deletions

View File

@@ -2225,7 +2225,7 @@ Vector2 GetSplinePointCatmullRom(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4,
}
// Get spline point for a given t [0.0f .. 1.0f], Quadratic Bezier
Vector2 GetSplinePointBezierQuad(Vector2 startPos, Vector2 controlPos, Vector2 endPos, float t)
Vector2 GetSplinePointBezierQuadratic(Vector2 startPos, Vector2 controlPos, Vector2 endPos, float t)
{
Vector2 point = { 0 };