|
@@ -104,14 +104,13 @@ Object.assign( Sphere.prototype, {
|
|
|
return box.intersectsSphere( this );
|
|
|
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
intersectsPlane: function ( plane ) {
|
|
|
|
|
|
return Math.abs( plane.distanceToPoint( this.center ) ) <= this.radius;
|
|
|
|
|
|
},
|
|
|
|
|
|
-
|
|
|
clampPoint: function ( point, optionalTarget ) {
|
|
|
|
|
|
var deltaLengthSq = this.center.distanceToSquared( point );
|