UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

9 lines 460 B
/** * Unit sphere sampling * @see based on python code suggested here: https://stackoverflow.com/questions/5408276/sampling-uniformly-distributed-random-points-inside-a-spherical-volume * @param {function} random * @param {number[]|Float32Array} result * @param {number} result_offset */ export function randomPointOnSphere(random: Function, result: number[] | Float32Array, result_offset: number): void; //# sourceMappingURL=randomPointOnSphere.d.ts.map