Skip to content

Commit 0d81cbb

Browse files
committed
Fix: Book2: Listing 70: Add missing bvh.h (#694)
1 parent e41a169 commit 0d81cbb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Change Log -- Ray Tracing in One Weekend
1212

1313
### _The Next Week_
1414
- Delete: remove unused u,v,w variables in initial `perlin::noise()` function (#684)
15+
- Fix: Listing 70: Add missing `bvh.h` (#694)
1516

1617

1718
----------------------------------------------------------------------------------------------------

books/RayTracingTheNextWeek.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3246,6 +3246,10 @@
32463246
why we get caustics and subsurface for free. It’s a double-edged design decision.
32473247

32483248
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
3249+
...
3250+
#include "bvh.h"
3251+
...
3252+
32493253
hittable_list final_scene() {
32503254
hittable_list boxes1;
32513255
auto ground = make_shared<lambertian>(color(0.48, 0.83, 0.53));

0 commit comments

Comments
 (0)