public void Initialize(ShadingParameters parameters)
 {
     this.shadingParameters = parameters;
 }
Esempio n. 2
0
 public void Initialize(ShadingParameters parameters)
 {
     this.shadingParameters = parameters;
     sinSunAltitude         = Math.Sin(shadingParameters.SunAltitude);
     cosSunAltitude         = Math.Cos(shadingParameters.SunAltitude);
 }