summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-03 12:17:15 +0200
committerRay <[email protected]>2021-10-03 12:17:15 +0200
commit22345ff62a08a2515a50f5276ad746fc621d0924 (patch)
treebe924595be4de6af140dabc747bed652b0a52a10 /src
parent3fc4a4c9749c61d02b0d9f3bebde26252a582abb (diff)
downloadraylib-22345ff62a08a2515a50f5276ad746fc621d0924.tar.gz
raylib-22345ff62a08a2515a50f5276ad746fc621d0924.zip
Minor format tweak
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h4
-rw-r--r--src/rshapes.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index a925f73e..a1854135 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1147,8 +1147,8 @@ RLAPI void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Colo
RLAPI void DrawLineV(Vector2 startPos, Vector2 endPos, Color color); // Draw a line (Vector version)
RLAPI void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line defining thickness
RLAPI void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line using cubic-bezier curves in-out
-RLAPI void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, float thick, Color color); //Draw line using quadratic bezier curves with a control point
-RLAPI void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlPos, Vector2 endControlPos, float thick, Color color) //Draw line using cubic bezier curves with 2 control points
+RLAPI void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, float thick, Color color); // Draw line using quadratic bezier curves with a control point
+RLAPI void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlPos, Vector2 endControlPos, float thick, Color color) // Draw line using cubic bezier curves with 2 control points
RLAPI void DrawLineStrip(Vector2 *points, int pointCount, Color color); // Draw lines sequence
RLAPI void DrawCircle(int centerX, int centerY, float radius, Color color); // Draw a color-filled circle
RLAPI void DrawCircleSector(Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color); // Draw a piece of a circle
diff --git a/src/rshapes.c b/src/rshapes.c
index f42d5621..76446ed8 100644
--- a/src/rshapes.c
+++ b/src/rshapes.c
@@ -189,7 +189,7 @@ void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, fl
}
}
-//Draw line using cubic bezier curves with 2 control points
+// Draw line using cubic bezier curves with 2 control points
void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlPos, Vector2 endControlPos, float thick, Color color)
{
const float step = 1.0f/BEZIER_LINE_DIVISIONS;