de.grogra.imp3d.glsl.light
Class LightPos
java.lang.Object
de.grogra.imp3d.glsl.light.LightPos
public class LightPos
- extends java.lang.Object
Wrapper class to hold a light with its corresponding transformation.
- Author:
- Konni Hartmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightPos
public LightPos(Light light)
LightPos
public LightPos(Light light,
Matrix4d lightToWorld)
getLight
public Light getLight()
getLightDir
public Vector3d getLightDir()
getLightPos
public Point4d getLightPos()
getLightTransform
public Matrix4d getLightTransform()
setLight
public void setLight(Light light)
setLightDir
public void setLightDir(Vector3d lightDir)
setLightPos
public void setLightPos(Matrix4d lightToWorld)
setLightTransform
public void setLightTransform(Matrix4d lightTransform)
setupView
public void setupView(javax.media.opengl.GL gl)