Skip to content

Commit 69e7937

Browse files
committed
fix bbox
1 parent dd53aff commit 69e7937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/geode/geometry/basic_objects/sphere.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ namespace geode
6464
GenericSphere< PointType, dimension >::bounding_box() const
6565
{
6666
BoundingBox< dimension > bbox;
67+
bbox.add_point( origin_ );
6768
bbox.extends( radius_ );
6869
return bbox;
6970
}

0 commit comments

Comments
 (0)