Skip to content

Commit

Permalink
Update textures_textured_curve.c
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Nov 7, 2023
1 parent 4b87cc4 commit 580fbf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/textures/textures_textured_curve.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ int main()
//----------------------------------------------------------------------------------
static void DrawCurve(void)
{
if (showCurve) DrawLineBezierCubic(curveStartPosition, curveEndPosition, curveStartPositionTangent, curveEndPositionTangent, 2, BLUE);
if (showCurve) DrawSplineBezierCubic(curveStartPosition, curveEndPosition, curveStartPositionTangent, curveEndPositionTangent, 2, BLUE);

// Draw the various control points and highlight where the mouse is
DrawLineV(curveStartPosition, curveStartPositionTangent, SKYBLUE);
DrawLineV(curveStartPositionTangent, curveEndPositionTangent, Fade(LIGHTGRAY, 0.4f));
DrawLineV(curveEndPosition, curveEndPositionTangent, PURPLE);
Vector2 mouse = GetMousePosition();

Expand Down

0 comments on commit 580fbf4

Please sign in to comment.