Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/math/MathUtils.js>MathUtils.randFloat

A simple transformation of three.js for use within a Deno workflow
Go to Latest
function MathUtils.randFloat
import { MathUtils } from "https://deno.land/x/threejs_4_deno@v121/src/math/MathUtils.js";
const { randFloat } = MathUtils;

Random float from low to high interval.

Parameters

low: number
high: number

Returns

number