Override boundingBox() function
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user