https://raytracing.github.io/books/RayTracingTheRestOfYourLife.html#cleaninguppdfmanagement./handlingspecular
When I ran the code, I was getting some segfaults, then I realized that lights wasn't populated. This section should instruct the user how to collect the lights from listing 38 and then pass that into ray_color().
https://raytracing.github.io/books/RayTracingTheRestOfYourLife.html#cleaninguppdfmanagement./handlingspecular
When I ran the code, I was getting some segfaults, then I realized that
lightswasn't populated. This section should instruct the user how to collect the lights from listing 38 and then pass that intoray_color().