List of usage examples for org.lwjgl.opengl GL11 nglMultMatrixf
public static native void nglMultMatrixf(long m);
From source file:com.samrj.devil.graphics.GraphicsUtil.java
public static void glMultMatrix(Mat3 m, int mode) { long address = mat3As4(m); GL11.glMatrixMode(mode);//from w w w.j ava 2 s . co m GL11.nglMultMatrixf(address); MemStack.pop(); }
From source file:com.samrj.devil.graphics.GraphicsUtil.java
public static void glMultMatrix(Mat4 m, int mode) { long address = MemStack.wrap(m); GL11.glMatrixMode(mode);/* ww w. j av a 2 s. com*/ GL11.nglMultMatrixf(address); MemStack.pop(); }