maspack.render
Class GLLightManager

java.lang.Object
  extended by maspack.render.GLLightManager

public class GLLightManager
extends java.lang.Object


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

Constructor Detail

GLLightManager

public GLLightManager()
Method Detail

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()