Skip to content

Commit 5e0bfc4

Browse files
committed
Fix bad hittable_list::hit() signature
Resolves #1507
1 parent bb652be commit 5e0bfc4

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
@@ -861,7 +861,7 @@
861861
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
862862
}
863863

864-
bool hit(const ray& r, double ray_tmin, double ray_tmax, hit_record& rec) const override {
864+
bool hit(const ray& r, interval ray_t, hit_record& rec) const override {
865865
...
866866
}
867867

0 commit comments

Comments
 (0)