util
Class GLUtils

java.lang.Object
  extended by util.GLUtils

public class GLUtils
extends java.lang.Object


Constructor Summary
GLUtils()
           
 
Method Summary
static Matrix4f getModelViewMatrix()
           
static int[] getViewport()
           
static int glGenTexture()
           
static void glLightColour(int type, float r, float g, float b, float a)
           
static void glLightModel(int model, float r, float g, float b, float a)
           
static void glLightPos(float x, float y, float z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLUtils

public GLUtils()
Method Detail

getModelViewMatrix

public static Matrix4f getModelViewMatrix()

getViewport

public static int[] getViewport()

glLightColour

public static void glLightColour(int type,
                                 float r,
                                 float g,
                                 float b,
                                 float a)

glLightModel

public static void glLightModel(int model,
                                float r,
                                float g,
                                float b,
                                float a)

glLightPos

public static void glLightPos(float x,
                              float y,
                              float z)

glGenTexture

public static int glGenTexture()