diff options
| author | Ray <[email protected]> | 2023-11-08 17:41:08 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-11-08 17:41:08 +0100 |
| commit | bbf0c3a46d27b723e73483bdd787c7713b31fe1a (patch) | |
| tree | d0cb4223f357366f8eeb0171337f20f913100fd4 /examples/shapes/shapes_lines_bezier.c | |
| parent | fe757b626703f91d59e04599ee033e993e00232b (diff) | |
| download | raylib-bbf0c3a46d27b723e73483bdd787c7713b31fe1a.tar.gz raylib-bbf0c3a46d27b723e73483bdd787c7713b31fe1a.zip | |
REVIEWED: Added new examples to VS2022 solution
Diffstat (limited to 'examples/shapes/shapes_lines_bezier.c')
| -rw-r--r-- | examples/shapes/shapes_lines_bezier.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/shapes/shapes_lines_bezier.c b/examples/shapes/shapes_lines_bezier.c index 5bd916ee..785d73a6 100644 --- a/examples/shapes/shapes_lines_bezier.c +++ b/examples/shapes/shapes_lines_bezier.c @@ -60,11 +60,11 @@ int main(void) DrawText("USE MOUSE LEFT-RIGHT CLICK to DEFINE LINE START and END POINTS", 15, 20, 20, GRAY); - // Draw line cubic-bezier, in-out interpolation (easing), no control points + // Draw line Cubic Bezier, in-out interpolation (easing), no control points DrawLineBezier(start, end, 3.0f, BLUE); - // Draw spline cubic-bezier with control points - DrawSplineBezierCubic(start, startControl, endControl, end, 2.0f, RED); + // Draw spline Cubic Bezier with control points + DrawSplineSegmentBezierCubic(start, startControl, endControl, end, 2.0f, RED); DrawLineEx(start, startControl, 1.0, LIGHTGRAY); DrawLineEx(end, endControl, 1.0, LIGHTGRAY); |
