/**
 *
 * @param {function} random
 * @param {number} min
 * @param {number} max
 * @returns {number}
 */
export function randomFloatBetween(random, min, max) {
    const span = max - min;

    const roll = random();

    return roll * span + min;
}
