close
Skip to content

Book 3 listing 38 (in section 12.2) doesn't tell the user how to handle the new lights parameter in ray_color() #738

@define-private-public

Description

@define-private-public

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().

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions