Beispiel #1
0
        //public RgbSpectrum Sample_f(ref Vector wo, out Vector wi,
        //                    BxDFType flags = BxDFType.BSDF_ALL,
        //                    BxDFType? sampledType = null)
        //{

        //}

        public void Add(BxDF bxdf)
        {
            this.bxdfs.Add(bxdf);
        }
Beispiel #2
0
 public static bool MatchesFlags(BxDF obj, BxDFTypes flags)
 {
     return (flags & obj.type).Equals(flags) || (flags & obj.type).Equals(obj.type);
 }