diff options
| author | Ray <[email protected]> | 2018-08-06 20:49:47 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-08-06 20:49:47 +0200 |
| commit | b042fe12e6c413e3cdcd706949dd285571647848 (patch) | |
| tree | 87e75ab82274b61cd925e50bc596b1e47ea67635 /src/shapes.c | |
| parent | 61b32e45ed9f28c2d41a0d004032941ab27780a3 (diff) | |
| download | raylib-b042fe12e6c413e3cdcd706949dd285571647848.tar.gz raylib-b042fe12e6c413e3cdcd706949dd285571647848.zip | |
Reviewed spacings on latest PR
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 4 |
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); |
