Skip to content

Commit b3f0bbc

Browse files
committed
NextWeek: Remove spurious decl bounding_box()
We had a premature declaration for the virtual function `moving_sphere::bounding_box()`. Removed it. Fixes #405
1 parent 54048ff commit b3f0bbc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@
171171
{};
172172

173173
virtual bool hit(const ray& r, double tmin, double tmax, hit_record& rec) const;
174-
virtual bool bounding_box(double t0, double t1, aabb& output_box) const;
175174

176175
vec3 center(double time) const;
177176

0 commit comments

Comments
 (0)