| 227 | } |
| 228 | |
| 229 | inline Vec3fa Velvety__sample(const Velvety* This, |
| 230 | const Vec3fa &wo, |
| 231 | const DifferentialGeometry &dg, |
| 232 | Sample3f &wi, |
| 233 | const Vec2f &s) |
| 234 | { |
| 235 | wi = cosineSampleHemisphere(s.x,s.y,dg.Ns); |
| 236 | return Velvety__eval(This, wo, dg, wi.v); |
| 237 | } |
| 238 | |
| 239 | inline void Velvety__Constructor(Velvety* This, const Vec3fa& R, const float f) |
| 240 | { |
no test coverage detected