From 4f39a84a3c54ecb295c646d719e7902ef9396685 Mon Sep 17 00:00:00 2001 From: Bigfoot71 Date: Wed, 8 Jan 2025 22:50:16 +0100 Subject: [PATCH] revert radius tweak (`DrawRectangleRoundedLines`) --- src/rshapes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rshapes.c b/src/rshapes.c index 55331395..07c685b6 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -1141,8 +1141,7 @@ void DrawRectangleRoundedLinesEx(Rectangle rec, float roundness, int segments, f } float stepLength = 90.0f/(float)segments; - const float outerRadius = radius + lineThick - 0.5f; - const float innerRadius = radius - 0.5f; + const float outerRadius = radius + lineThick, innerRadius = radius; /* Quick sketch to make sense of all of this,