public GeometricPrimitive(IShape shape, IMaterial material, AreaLight areaLight) { this.Shape = shape; this.Material = material; this.areaLight = areaLight; }
public MixedMaterial(IMaterial mat1, IMaterial mat2, ITexture<Spectrum> sc) { m1 = mat1; m2 = mat2; scale = sc; }