| 508 | } |
| 509 | |
| 510 | Vec3fa MatteMaterial__sample(ISPCMatteMaterial* This, const BRDF& brdf, const Vec3fa& Lw, const Vec3fa& wo, const DifferentialGeometry& dg, Sample3f& wi_o, Medium& medium, const Vec2f& s) |
| 511 | { |
| 512 | Lambertian lambertian = make_Lambertian(Vec3fa((Vec3fa)This->reflectance)); |
| 513 | return Lambertian__sample(&lambertian,wo,dg,wi_o,s); |
| 514 | } |
| 515 | |
| 516 | //////////////////////////////////////////////////////////////////////////////// |
| 517 | // Mirror Material // |
no test coverage detected