fix: infer correct quad coordinates

This commit is contained in:
Sven Vogel 2024-12-18 18:55:04 +01:00
parent f5e0f68143
commit 66d2b99762
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import me.srvstr.world.World;
public class Renderer public class Renderer
implements AutoCloseable { 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, 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 static final int DRAW_COUNT = QUAD_VERTICES.length >> 1;
private int arrayBufferHandle; private int arrayBufferHandle;