예제 #1
0
 public AreaLight(Color c, IIntersectable shape)
 {
     Shape       = shape;
     LightColor  = c;
     shape.Light = this;
     Pdf         = (1f / Shape.GetArea());
 }