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