public static boolean intersect(BoundingSphere sphere, Vector3f center, float radius) {
        assert Vector3f.isValidVector(center) && Vector3f.isValidVector(sphere.center);

        TempVars vars = TempVars.get();
        try {
            Vector3f diff = center.subtract(sphere.center, vars.vect1);
            float rsum = sphere.getRadius() + radius;
            return (diff.dot(diff) <= rsum * rsum);
        } finally {
            vars.release();
        }
    }
This class includes some utility methods for computing intersection
between bounding volumes and triangles.

@author Kirill
jme3-core/src/main/java/com/jme3/bounding/Intersection.java