pbrt-v3
pbrt-v3 copied to clipboard
possible (minor) bug in interaction.h
Hello,
In https://github.com/mmp/pbrt-v3/blob/master/src/core/interaction.h#L70 shouldn't it be Vector3f d = p2 - origin; ?
Kind regards, Grzegorz Karch
Nice find--thank you! Now fixed.
This breaks the Triangle.Reintersect test for reasons that are no immediately obvious. Pushed a95b0bc97f79785dbbf2576019d730084677b492. Reopening for now.