From 1e741d7801d4dd83e5a55354b81249f66ec463e6 Mon Sep 17 00:00:00 2001 From: LeandroSQ Date: Fri, 9 Feb 2024 02:54:16 -0300 Subject: [PATCH] fix: Indentation --- src/rshapes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rshapes.c b/src/rshapes.c index bcd0c21b0..58d606b78 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -1491,7 +1491,7 @@ void DrawPoly(Vector2 center, int sides, float radius, float rotation, Color col void DrawPolyPro(Vector2 center, Vector2 *points, int pointCount, Color color) { - if (pointCount >= 3 && points != NULL) + if (pointCount >= 3 && points != NULL) { #if defined(SUPPORT_QUADS_DRAW_MODE) rlSetTexture(texShapes.id); @@ -1526,12 +1526,12 @@ void DrawPolyPro(Vector2 center, Vector2 *points, int pointCount, Color color) int j = i + 1; if (j == pointCount) j = 0; - rlVertex2f(points[i].x, points[i].y); - rlVertex2f(center.x, center.y); - rlVertex2f(points[j].x, points[j].y); + rlVertex2f(points[i].x, points[i].y); + rlVertex2f(center.x, center.y); + rlVertex2f(points[j].x, points[j].y); } - rlEnd(); + rlEnd(); #endif } }