aboutsummaryrefslogtreecommitdiffstats
path: root/include/sphere.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/sphere.hpp')
-rw-r--r--include/sphere.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sphere.hpp b/include/sphere.hpp
index 28bb0bc..3a29207 100644
--- a/include/sphere.hpp
+++ b/include/sphere.hpp
@@ -7,16 +7,13 @@
struct sphere {
sphere() = default;
sphere(point3 center, material material, float radius)
- : center(center), radius(radius), mat(material),
- bounding_box(center, radius)
+ : center(center), radius(radius), mat(material)
{}
point3 center;
material mat;
- aabb bounding_box;
-
float radius;
float padding[3];
};