| 600 | return 1; |
| 601 | } |
| 602 | virtual float eval (const OSL::ShaderGlobals& sg, const OSL::Vec3& wi, float& pdf) const { |
| 603 | return pdf = 0; |
| 604 | } |
| 605 | virtual float sample(const OSL::ShaderGlobals& sg, float rx, float ry, float rz, OSL::Dual2<OSL::Vec3>& wi, float& pdf) const { |
| 606 | // only one direction is possible |
| 607 | OSL::Dual2<OSL::Vec3> I = OSL::Dual2<OSL::Vec3>(sg.I, sg.dIdx, sg.dIdy); |
nothing calls this directly
no outgoing calls
no test coverage detected