LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

about function1D

Open JackKaiXing opened this issue 4 years ago • 1 comments

In file, /master/include/luxrays/utils/mcdistribution.h, line 64, return func[off1] * (1.f - d) * func[off2] * d; should be + instead of *.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

JackKaiXing avatar Mar 11 '21 15:03 JackKaiXing

return func[off1] * (1.f - d) + func[off2] * d;

JackKaiXing avatar Mar 11 '21 15:03 JackKaiXing