MCPcopy Create free account
hub / github.com/JackPu/freleap.github.io / random

Function random

webgl/gl-matrix.js:1587–1598  ·  view source on GitHub ↗

* Generates a random vector with the given scale * * @param {vec3} out the receiving vector * @param {Number} [scale] Length of the resulting vector. If ommitted, a unit vector will be returned * @returns {vec3} out

(out, scale)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

scaleFunction · 0.85
normalizeFunction · 0.70

Tested by

no test coverage detected