Book 1 Chapter 5.2: hit_sphere function
#1057
|
in the last line of return (discriminant > 0);however, earlier in the same chapter the book mentioned
doesn't this mean the code should instead be return (discriminant >= 0)since |
Answered by
hollasch
Aug 21, 2022
Replies: 2 comments
|
Good catch! Promoted to issue, will get it fixed in v4.0.0. |
0 replies
Answer selected by
LollipopFt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good catch! Promoted to issue, will get it fixed in v4.0.0.