Skip to content

Commit e41a169

Browse files
rjkilpatrickhollasch
authored andcommitted
Fix book 2 listing 51 missing hittable, rtweekend includes
Resolves #693
1 parent c07733c commit e41a169

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
@@ -8,6 +8,7 @@ Change Log -- Ray Tracing in One Weekend
88
- Fix: replace old anti-alias result image with before-and-after image (#679)
99
- Fix: Listing 29: Added missing `rtweekend.h` include (#691)
1010
- Fix: undefined `vup` variable in camera definition (#686)
11+
- Fix: Listing 51: Add missing `hittable.h`, `rtweekend.h` includes (#693)
1112

1213
### _The Next Week_
1314
- Delete: remove unused u,v,w variables in initial `perlin::noise()` function (#684)

books/RayTracingTheNextWeek.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,10 @@
23852385
#ifndef AARECT_H
23862386
#define AARECT_H
23872387

2388+
#include "rtweekend.h"
2389+
2390+
#include "hittable.h"
2391+
23882392
class xy_rect : public hittable {
23892393
public:
23902394
xy_rect() {}

0 commit comments

Comments
 (0)