Skip to content

Commit 6290db0

Browse files
committed
book3: Add include hittable_list.h to pdf.h
1 parent 97e4a73 commit 6290db0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

books/RayTracingTheRestOfYourLife.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,6 +2543,9 @@
25432543
Now we can try sampling directions toward a `hittable`, like the light.
25442544

25452545
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2546+
...
2547+
#include "hittable_list.h"
2548+
...
25462549
class hittable_pdf : public pdf {
25472550
public:
25482551
hittable_pdf(const hittable_list& _objects, const point3& _origin)

0 commit comments

Comments
 (0)