Example #1
0
        public bool Overlaps(TBoundingSphere sphere)
        {
            float t = radius + sphere.radius;

            return((pos - sphere.pos).LengthSq() < t * t);
        }
Example #2
0
 public bool Overlaps(TBoundingSphere sphere)
 {
     return(sphere.Radius * sphere.Radius > DistanceToPoint(sphere.Pos));
 }