From 4d5b2acdd908e75578a684ee7a9a35b600dda55e Mon Sep 17 00:00:00 2001 From: Zelaux Date: Sun, 1 Oct 2023 16:54:33 +0300 Subject: [PATCH] Fixed EDraw.drawRect(Texture...) --- graphics/extendedDraw/src/arclibrary/graphics/EDraw.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphics/extendedDraw/src/arclibrary/graphics/EDraw.java b/graphics/extendedDraw/src/arclibrary/graphics/EDraw.java index c390da9..9b61587 100644 --- a/graphics/extendedDraw/src/arclibrary/graphics/EDraw.java +++ b/graphics/extendedDraw/src/arclibrary/graphics/EDraw.java @@ -38,10 +38,10 @@ public static void drawBuffer(FrameBuffer buffer){ public static void rect(Texture texture, float x, float y, float width, float height){ float color = Draw.getColor().toFloatBits(); quad(texture, - x, y, color, 0, 0, - x, y + height, color, 0, 1, - x + width, y + height, color, 1, 1, - x + width, y, color, 1, 0 + x, y, color, 0, 1, + x, y + height, color, 0, 0, + x + width, y + height, color, 1, 0, + x + width, y, color, 1, 1 ); }