public void updateGeometry(int zSamples, int radialSamples, float radius) {
        if (zSamples < 3) {
            throw new IllegalArgumentException("zSamples cannot be smaller than 3");
        }
        updateGeometry(zSamples, radialSamples, radius, false, false);
    }
Changes the information of the sphere into the given values.

@param zSamples the number of zSamples of the sphere.
@param radialSamples the number of radial samples of the sphere.
@param radius the radius of the sphere.
jme3-core/src/main/java/com/jme3/scene/shape/Sphere.java