diff --git a/hittable.h b/hittable.h index a7b84a2..6a4f1a7 100644 --- a/hittable.h +++ b/hittable.h @@ -131,6 +131,10 @@ class rotateY : public hittable { return true; } + aabb boundingBox() const override { + return bBox; + } + private: shared_ptr object; double sinTheta;