java.lang.Object
de.grogra.glsl.light.LightPos
Wrapper class to hold a light with its corresponding transformation.
- Author:
- Konni Hartmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLight()
void
void
setLightDir
(Vector3d lightDir) void
setLightPos
(Matrix4d lightToWorld) void
setLightTransform
(Matrix4d lightTransform) void
setupView
(javax.media.opengl.GL gl)
-
Constructor Details
-
LightPos
-
LightPos
-
-
Method Details
-
getLight
-
getLightPos
-
setLight
-
setLightPos
-
setLightDir
-
getLightDir
-
getLightTransform
-
setLightTransform
-
setupView
public void setupView(javax.media.opengl.GL gl)
-