diff --git a/src/rshapes.c b/src/rshapes.c index 0a016eabb..af4d8954c 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -177,6 +177,9 @@ void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color) DrawLineEx(previous, current, thick, color); + if (thick > 1) + DrawCircleV(current, thick / 2, color); + previous = current; } } @@ -203,6 +206,9 @@ void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, fl DrawLineEx(previous, current, thick, color); + if (thick > 1) + DrawCircleV(current, thick / 2, color); + previous = current; } } @@ -229,6 +235,9 @@ void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlP DrawLineEx(previous, current, thick, color); + if (thick > 1) + DrawCircleV(current, thick / 2, color); + previous = current; } }