endrov.gl
Class EvGLGenMatrix

java.lang.Object
  extended by endrov.gl.EvGLGenMatrix

public class EvGLGenMatrix
extends java.lang.Object

Generate OpenGL transformation matrices


Constructor Summary
EvGLGenMatrix()
           
 
Method Summary
static void glFrustum(javax.vecmath.Matrix4f m, float left, float right, float bottom, float top, float znear, float zfar)
           
static void gluPerspective(javax.vecmath.Matrix4f m, float fovy, float aspect, float znear, float zfar)
          NOTE: fovy in radians
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvGLGenMatrix

public EvGLGenMatrix()
Method Detail

gluPerspective

public static void gluPerspective(javax.vecmath.Matrix4f m,
                                  float fovy,
                                  float aspect,
                                  float znear,
                                  float zfar)
NOTE: fovy in radians


glFrustum

public static void glFrustum(javax.vecmath.Matrix4f m,
                             float left,
                             float right,
                             float bottom,
                             float top,
                             float znear,
                             float zfar)