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