From 66d2b99762a4175af74aa9d2f9780efab2e98065 Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 18 Dec 2024 18:55:04 +0100 Subject: [PATCH] fix: infer correct quad coordinates --- src/main/java/me/srvstr/engine/Renderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/srvstr/engine/Renderer.java b/src/main/java/me/srvstr/engine/Renderer.java index a82d944..a183e7b 100644 --- a/src/main/java/me/srvstr/engine/Renderer.java +++ b/src/main/java/me/srvstr/engine/Renderer.java @@ -17,7 +17,7 @@ import me.srvstr.world.World; public class Renderer implements AutoCloseable { private static final float[] QUAD_VERTICES = new float[] { -1.0F, 1.0F, 1.0F, 1.0F, 1.0F, -1.0F, 1.0F, -1.0F, -1.0F, - -1.0F, 1.0F }; + -1.0F, -1.0F, 1.0F }; private static final int DRAW_COUNT = QUAD_VERTICES.length >> 1; private int arrayBufferHandle;