From 147b03e2df3416f78d4621ec2ea42d902e74a7a1 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 3 Jan 2023 00:22:05 +0100 Subject: [PATCH] jetzt kaputt --- Input/inputHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Input/inputHandler.c b/Input/inputHandler.c index 167f9c3..1d87ea0 100644 --- a/Input/inputHandler.c +++ b/Input/inputHandler.c @@ -15,7 +15,7 @@ void DrawRect(Vector2 rectStart, Vector2 *mousePosition){ rectStart = GetRectangle(rectStart); - DrawRectangleLines(rectStart.x, rectStart.y, width, height, GREEN); + DrawRectangleLines(rectStart.x, rectStart.y, abs(width), abs(height), GREEN); } Vector2 GetRectangle(Vector2 rectStart){