Example usage for org.lwjgl.opengl GL11 glFrustum

List of usage examples for org.lwjgl.opengl GL11 glFrustum

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glFrustum.

Prototype

public static native void glFrustum(@NativeType("GLdouble") double l, @NativeType("GLdouble") double r,
        @NativeType("GLdouble") double b, @NativeType("GLdouble") double t, @NativeType("GLdouble") double n,
        @NativeType("GLdouble") double f);

Source Link

Document

Manipulates the current matrix with a matrix that produces perspective projection, in such a way that the coordinates (lb – n)T and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at (0 0 0)T).

Usage

From source file:org.xmlvm.iphone.gl.GL.java

License:Open Source License

public static void glFrustumf(float p1, float p2, float p3, float p4, float p5, float p6) {
    GL11.glFrustum(p1, p2, p3, p4, p5, p6);
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glFrustum(double a, double b, double c, double d, double e, double f) {
    GL11.glFrustum(a, b, c, d, e, f);
}