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 |
Beta Was this translation helpful? Give feedback.
Answered by
hollasch
Aug 21, 2022
Replies: 2 comments
-
|
Good catch! Promoted to issue, will get it fixed in v4.0.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LollipopFt
-
|
See issue #1058 |
Beta Was this translation helpful? Give feedback.
0 replies
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.