Beispiel #1
0
 public SourceLight(OpenGL gl, LightName lightNum, HomogeneousCoordinates position, ColorSettingLight colorSet)
 {
     this.position = position;
     this.colorSet = colorSet;
     this.gl       = gl;
     this.lightNum = lightNum;
     SetColorSet(colorSet);
 }
Beispiel #2
0
 public MovingLight(OpenGL gl, LightName lightNum, HomogeneousCoordinates position, ColorSettingLight colorSet)
     : base(gl, lightNum, position, colorSet)
 {
     this.position = position;
     this.colorSet = colorSet;
     this.gl       = gl;
     this.lightNum = lightNum;
     SetColorSet(colorSet);
     angleRot = 0;
 }