iWrote / path_tracer

simple C++ cpu-based raytracer
1 stars 0 forks source link

Metal material scatter function; my optimisation causes stack overflow #6

Closed iWrote closed 4 years ago

iWrote commented 4 years ago

when does it get stuck inside the sphere?

iWrote commented 4 years ago

(see comment in code)