public SpotLight(Ray centerRay, Vector4 color) : this(centerRay, color, new SpotLightAttenuation(1, 0, 0, 0.5 * Math.PI, Math.PI, 1.0)) { }
public SpotLight(Ray centerRay, Vector4 color, SpotLightAttenuation attenuation) : base(color) { CenterRay = centerRay; Attenuation = attenuation; }
public SpotLight(Ray centerRay) : this(centerRay, new Vector4(1, 1, 1, 1)) { }