fix: infer correct quad coordinates
This commit is contained in:
parent
f5e0f68143
commit
66d2b99762
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue