Format change
This commit is contained in:
@@ -40,9 +40,8 @@ public class BudgetBufferRenderer {
|
|||||||
private static final int STRIDE = 24;
|
private static final int STRIDE = 24;
|
||||||
private static final GlVertexArray VA = new GlVertexArray()
|
private static final GlVertexArray VA = new GlVertexArray()
|
||||||
.setStride(STRIDE)
|
.setStride(STRIDE)
|
||||||
.setF(0, GL_FLOAT, 3, 0)//pos
|
.setF(0, GL_FLOAT, 4, 0)//pos, metadata
|
||||||
.setI(1, GL_INT, 1, 4 * 3)//metadata
|
.setF(1, GL_FLOAT, 2, 4 * 4)//UV
|
||||||
.setF(2, GL_FLOAT, 2, 4 * 4)//UV
|
|
||||||
.bindElementBuffer(indexBuffer.id);
|
.bindElementBuffer(indexBuffer.id);
|
||||||
|
|
||||||
private static GlBuffer immediateBuffer;
|
private static GlBuffer immediateBuffer;
|
||||||
|
|||||||
Reference in New Issue
Block a user