Module gl1

Class LightPos

java.lang.Object
de.grogra.glsl.light.LightPos

public class LightPos extends Object
Wrapper class to hold a light with its corresponding transformation.
Author:
Konni Hartmann
  • Constructor Details

    • LightPos

      public LightPos(Light light)
    • LightPos

      public LightPos(Light light, Matrix4d lightToWorld)
  • Method Details

    • getLight

      public Light getLight()
    • getLightPos

      public Point4d getLightPos()
    • setLight

      public void setLight(Light light)
    • setLightPos

      public void setLightPos(Matrix4d lightToWorld)
    • setLightDir

      public void setLightDir(Vector3d lightDir)
    • getLightDir

      public Vector3d getLightDir()
    • getLightTransform

      public Matrix4d getLightTransform()
    • setLightTransform

      public void setLightTransform(Matrix4d lightTransform)
    • setupView

      public void setupView(javax.media.opengl.GL gl)