Browse Source

Update textures_textured_curve.c

pull/3517/head
Ray 1 year ago
parent
commit
580fbf441c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/textures/textures_textured_curve.c

+ 2
- 1
examples/textures/textures_textured_curve.c View File

@ -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();

Loading…
Cancel
Save