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