public static float nextRandomFloat(float min, float max) {
        return min + (max - min) * nextRandomFloat();
    }
Generates a pseudorandom {@code float} in the range [min, max)

@param min The lower bound (inclusive).
@param max The upper bound (exclusive).
@return A random {@code float} value within the specified range.
jme3-core/src/main/java/com/jme3/math/FastMath.java