randomPointInSphere
randomPointInSphere(random, result, result_offset)
Unit sphere with Radius = 1
Kind: global function
See: based on python code suggested here: https://stackoverflow.com/questions/5408276/sampling-uniformly-distributed-random-points-inside-a-spherical-volume
Param | Type |
---|---|
random | function |
result | Array.<number> |
result_offset | number |