public static final float boxstep(final float a, final float b, final float x) {
        return ShaderUtils.clamp((x - a) / (b - a), 0, 1);
    }
A private constructor to inhibit instantiation of this class.
jme3-terrain/src/main/java/com/jme3/terrain/noise/ShaderUtils.java