mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-06 06:09:17 -05:00
REVIEWED: Added new examples to VS2022 solution
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user