maspack.render
Class GLLightManager
java.lang.Object
maspack.render.GLLightManager
public class GLLightManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLLightManager
public GLLightManager()
init
public void init(javax.media.opengl.GL2 gl)
createLight
public GLLight createLight(float[] position,
float[] ambient,
float[] diffuse,
float[] specular)
addLight
public void addLight(GLLight light)
removeLight
public void removeLight(GLLight light)
getLight
public GLLight getLight(int id)
numLights
public int numLights()
maxLights
public int maxLights()
clearLights
public void clearLights()