@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
9 lines • 439 B
TypeScript
/**
* Unit sphere with Radius = 1
* @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[]} result
* @param {number} result_offset
*/
export function randomPointInSphere(random: Function, result: number[], result_offset: number): void;
//# sourceMappingURL=randomPointInSphere.d.ts.map