-
Notifications
You must be signed in to change notification settings
8000
- Fork 913
Using HitRecord::t before declaring it #428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is a bug. Thank you for catching it. Unfortunately,
|
Just use
for There is a new PR to fix this issue. Thank you for bringing it up |
Glad I could help ! |
Resolved in PR #429 |
t still needs to be added back to listing 18: "The hittable class with time and side" |
Thank you for catching this! |
It would be good to use a better name, perhaps |
See also #418 regarding our nomenclature for time0 and time1. This should be considered as well when making these changes. |
Resolved in PR #625 |
In Chapter 6, at listing 13,
hit_record
definition isand then in listing 14, there is reference to a
t
member that do not exist... yet.hit_record
's membert
is defined later as the time:I know that we’ll also want motion blur at some point, so I’ll also add a time input variable.
Therefore I cannot see any relation to time in the calculations of
temp
listing 18:If I'm correct, at this point
t
is more like a depth buffer, as to see listing 19.The text was updated successfully, but these errors were encountered: