Skip to content

Commit 336c801

Browse files
committed
Fix computeBoundingSphere
1 parent b051e06 commit 336c801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/_base/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var computeBoundingSphere = function() {
7373

7474
// Calculate new bounding-sphere:
7575
boundingSphere.radius = 0.5 * (rA + rB + d);
76-
boundingSphere.center.addScaledVector(vAB, 0.5 + rB);
76+
boundingSphere.center.addScaledVector(vAB, 0.5);
7777
}
7878
});
7979
return boundingSphere;

0 commit comments

Comments
 (0)