Skip to content

Commit 4dbfa6f

Browse files
committed
hittable::emitted() should be material::emitted()
Fixes typo in book 3, chapter 9.3. Resolves #1736
1 parent 3ae50d1 commit 4dbfa6f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Change Log / Ray Tracing in One Weekend
1414
without recombining coordinates (#1733)
1515

1616
### The Rest of Your Life
17+
- Fix -- Typo: hittable::emitted() should be material::emitted() (#1736)
1718

1819

1920
----------------------------------------------------------------------------------------------------

books/RayTracingTheRestOfYourLife.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@
26252625
----------------------------------
26262626
The noisy pops around the light on the ceiling are because the light is two-sided and there is a
26272627
small space between light and ceiling. We probably want to have the light just emit down. We can do
2628-
that by letting the `hittable::emitted()` function take extra information:
2628+
that by letting the `material::emitted()` function take extra information:
26292629

26302630
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
26312631
class material {

0 commit comments

Comments
 (0)