Skip to content

Commit 84d8752

Browse files
committed
Intersection uses sphere.base and .radius properly
1 parent f8c4d34 commit 84d8752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compas/geometry/intersections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ def intersection_sphere_sphere(sphere1, sphere2):
495495
496496
"""
497497

498-
center1, radius1 = sphere1
499-
center2, radius2 = sphere2
498+
center1, radius1 = sphere1.base, sphere1.radius
499+
center2, radius2 = sphere2.base, sphere2.radius
500500

501501
distance = distance_point_point(center1, center2)
502502

0 commit comments

Comments
 (0)