Skip to content

Commit 3d18a10

Browse files
committed
Fix typo of "bbox" in code listing
Resolves #1257
1 parent 7df1eae commit 3d18a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@
903903
}
904904

905905
bool hit(const ray& r, interval ray_t, hit_record& rec) const override {
906-
if (!box.hit(r, ray_t))
906+
if (!bbox.hit(r, ray_t))
907907
return false;
908908

909909
bool hit_left = left->hit(r, ray_t, rec);

0 commit comments

Comments
 (0)