mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
The BIG LWJGL REFACTORING
This commit is contained in:
parent
84cc336d9d
commit
6917a1e1de
12 changed files with 119 additions and 51 deletions
|
|
@ -48,6 +48,13 @@ public class ARBTransposeMatrix {
|
|||
public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
|
||||
public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6;
|
||||
|
||||
static {
|
||||
BufferChecks.putGetMap(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB, 16);
|
||||
BufferChecks.putGetMap(GL_TRANSPOSE_PROJECTION_MATRIX_ARB, 16);
|
||||
BufferChecks.putGetMap(GL_TRANSPOSE_TEXTURE_MATRIX_ARB, 16);
|
||||
BufferChecks.putGetMap(GL_TRANSPOSE_COLOR_MATRIX_ARB, 16);
|
||||
}
|
||||
|
||||
public static void glLoadTransposeMatrixARB(FloatBuffer pfMtx) {
|
||||
if (pfMtx.remaining() < 16) {
|
||||
throw new BufferUnderflowException();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue