summaryrefslogtreecommitdiffhomepage
path: root/src/shapes.c
diff options
context:
space:
mode:
authorRay <[email protected]>2018-08-06 20:49:47 +0200
committerRay <[email protected]>2018-08-06 20:49:47 +0200
commitb042fe12e6c413e3cdcd706949dd285571647848 (patch)
tree87e75ab82274b61cd925e50bc596b1e47ea67635 /src/shapes.c
parent61b32e45ed9f28c2d41a0d004032941ab27780a3 (diff)
downloadraylib-b042fe12e6c413e3cdcd706949dd285571647848.tar.gz
raylib-b042fe12e6c413e3cdcd706949dd285571647848.zip
Reviewed spacings on latest PR
Diffstat (limited to 'src/shapes.c')
-rw-r--r--src/shapes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shapes.c b/src/shapes.c
index 1b3862cc..833f1613 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -154,8 +154,8 @@ void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color)
{
// Cubic easing in-out
// NOTE: Easing is calculated only for y position value
- current.y = EaseCubicInOut((float)i, startPos.y, endPos.y - startPos.y, (float) LINE_DIVISIONS);
- current.x = previous.x + (endPos.x - startPos.x)/ (float) LINE_DIVISIONS;
+ current.y = EaseCubicInOut((float)i, startPos.y, endPos.y - startPos.y, (float)LINE_DIVISIONS);
+ current.x = previous.x + (endPos.x - startPos.x)/ (float)LINE_DIVISIONS;
DrawLineEx(previous, current, thick, color);