Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hollasch
Copy link
Collaborator

The prior version used a forward declaration of hit_record, which was insufficient since hittable.h lines referenced members of hit_record, and was unnecessary because hittable.h was included before material.h in practice.

For this specific code, the inclusion is unnecessary, but is proper form.

Resolves #1608

The prior version used a forward declaration of `hit_record`, which was
insufficient since hittable.h lines referenced members of `hit_record`,
and was unnecessary because hittable.h was included before material.h in
practice.

For this specific code, the inclusion is unnecessary, but is proper
form.

Resolves #1608
@hollasch hollasch added this to the v4.0.1 milestone Aug 19, 2024
@hollasch hollasch requested review from a team and whydoubt August 19, 2024 19:11
@hollasch hollasch self-assigned this Aug 19, 2024
@hollasch
Copy link
Collaborator Author

@whydoubt — Jeff, I've added you on this review in case you're interested in helping out with PR reviews. Let me know if you are, and I'll add you to the RTW reviewers' group.

@hollasch hollasch merged commit 7bf2f3c into dev-patch Aug 19, 2024
@hollasch hollasch deleted the include-hittable-from-material branch August 19, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants