Top Description Fields Constructors Methods
org.lwjgl.util.glu

public Class Project

extends Util
Class Inheritance
Imports
java.nio.FloatBuffer, .IntBuffer, org.lwjgl.BufferUtils, org.lwjgl.opengl.GL11

Project.java

Created 11-jan-2004

Author
Erik Duijs

Field Summary

Modifier and TypeField and Description
private static final FloatBuffer
private static final float[]
private static final float[]
private static final float[]
private static final FloatBuffer
private static final float[]
private static final float[]
private static final FloatBuffer
private static final float[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static boolean

Returns:

true if the matrix was succesfully inverted
__gluInvertMatrixf
(FloatBuffer src, FloatBuffer inverse)

private static void
__gluMakeIdentityf(FloatBuffer m)

Make matrix an identity matrix

private static void
private static void
__gluMultMatrixVecf(FloatBuffer m, float[] in, float[] out)

Method __gluMultMatrixVecf

public static void
gluLookAt(float eyex, float eyey, float eyez, float centerx, float centery, float centerz, float upx, float upy, float upz)

Method gluLookAt

public static void
gluPerspective(float fovy, float aspect, float zNear, float zFar)

Method gluPerspective.

public static void
gluPickMatrix(float x, float y, float deltaX, float deltaY, IntBuffer viewport)

Method gluPickMatrix

public static boolean
gluProject(float objx, float objy, float objz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer win_pos)

Method gluProject

public static boolean
gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer obj_pos)

Method gluUnproject

Inherited from org.lwjgl.util.glu.Util:
bytesPerPixelceilcompPerPixcrossglGetIntegervnearestPowernormalize

Field Detail

finalMatrixback to summary
private static final FloatBuffer finalMatrix
forwardback to summary
private static final float[] forward
IDENTITY_MATRIXback to summary
private static final float[] IDENTITY_MATRIX
inback to summary
private static final float[] in
matrixback to summary
private static final FloatBuffer matrix
outback to summary
private static final float[] out
sideback to summary
private static final float[] side
tempMatrixback to summary
private static final FloatBuffer tempMatrix
upback to summary
private static final float[] up

Constructor Detail

Projectback to summary
public Project()

Method Detail

__gluInvertMatrixfback to summary
private static boolean __gluInvertMatrixf(FloatBuffer src, FloatBuffer inverse)
Returns:boolean

true if the matrix was succesfully inverted

__gluMakeIdentityfback to summary
private static void __gluMakeIdentityf(FloatBuffer m)

Make matrix an identity matrix

__gluMultMatricesfback to summary
private static void __gluMultMatricesf(FloatBuffer a, FloatBuffer b, FloatBuffer r)
__gluMultMatrixVecfback to summary
private static void __gluMultMatrixVecf(FloatBuffer m, float[] in, float[] out)

Method __gluMultMatrixVecf

gluLookAtback to summary
public static void gluLookAt(float eyex, float eyey, float eyez, float centerx, float centery, float centerz, float upx, float upy, float upz)

Method gluLookAt

gluPerspectiveback to summary
public static void gluPerspective(float fovy, float aspect, float zNear, float zFar)

Method gluPerspective.

gluPickMatrixback to summary
public static void gluPickMatrix(float x, float y, float deltaX, float deltaY, IntBuffer viewport)

Method gluPickMatrix

gluProjectback to summary
public static boolean gluProject(float objx, float objy, float objz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer win_pos)

Method gluProject

gluUnProjectback to summary
public static boolean gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer obj_pos)

Method gluUnproject