public void setCurveTension(float curveTension) {
        this.curveTension = curveTension;
        if (type == SplineType.CatmullRom && !getControlPoints().isEmpty()) {
            this.computeTotalLength();
        }
    }
sets the curve tension

@param curveTension the tension
jme3-core/src/main/java/com/jme3/math/Spline.java