public BRDFTOBTDF(ref BxDF b) : base(b.type ^ (BxDFType.BSDF_TRANSMISSION | BxDFType.BSDF_REFLECTION)) { brdf = b; }
public ScaledBxdf(BxDF b, Spectrum sc) : base(b.type) { bxdf = b; s = sc; }