Override boundingBox() function

This commit is contained in:
CJSatnarine
2024-07-11 09:55:04 -04:00
parent 47b72b8bae
commit 359f8a9108

View File

@@ -131,6 +131,10 @@ class rotateY : public hittable {
return true; return true;
} }
aabb boundingBox() const override {
return bBox;
}
private: private:
shared_ptr<hittable> object; shared_ptr<hittable> object;
double sinTheta; double sinTheta;