Address `material::scatter()` function mismatch between book and source · Issue #669 · RayTracing/raytracing.github.io · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Di
8000
smiss alert
Book two has a material::scatter() method that takes four arguments.
Book three text has a material::scatter() method that adds a fifth argument.
Book three source has a material::scatter() method that takes three arguments.
Also note that the original isotropic::scatter() method in book three took four arguments, so the source code was actually invoking the default material::scatter() method, so that image is probably wrong.
The text was updated successfully, but these errors were encountered:
material::scatter()
method that takes four arguments.material::scatter()
method that adds a fifth argument.material::scatter()
method that takes three arguments.Also note that the original
isotropic::scatter()
method in book three took four arguments, so the source code was actually invoking the defaultmaterial::scatter()
method, so that image is probably wrong.The text was updated successfully, but these errors were encountered: