public void updateGeometry(int circleSamples, int radialSamples, float innerRadius, float outerRadius) {
        this.circleSamples = circleSamples;
        this.radialSamples = radialSamples;
        this.innerRadius = innerRadius;
        this.outerRadius = outerRadius;
        setGeometryData();
        setIndexData();
        updateBound();
        updateCounts();
    }
Rebuilds this torus based on a new set of parameters.

@param circleSamples the number of samples along the circles.
@param radialSamples the number of samples along the radial.
@param innerRadius minor radius of the torus
@param outerRadius major radius of the torus
jme3-core/src/main/java/com/jme3/scene/shape/Torus.java