ssmith.opengl
Class Light
java.lang.Object
ssmith.opengl.Light
- All Implemented Interfaces:
- IAbstractEffect
public class Light
- extends java.lang.Object
- implements IAbstractEffect
- Author:
- stephen smith
|
Constructor Summary |
Light(int n,
boolean on)
|
Light(int n,
boolean on,
float[] diff_col,
float[] pos)
|
|
Method Summary |
void |
ifOff(net.java.games.jogl.GL gl)
|
void |
init(Canvas3D canvas,
net.java.games.jogl.GL gl)
|
void |
process(net.java.games.jogl.GL gl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Light
public Light(int n,
boolean on)
Light
public Light(int n,
boolean on,
float[] diff_col,
float[] pos)
init
public void init(Canvas3D canvas,
net.java.games.jogl.GL gl)
- Specified by:
init in interface IAbstractEffect
process
public void process(net.java.games.jogl.GL gl)
- Specified by:
process in interface IAbstractEffect
ifOff
public void ifOff(net.java.games.jogl.GL gl)