randomPointInCircle
randomPointInCircle(random, result, result_offset)
Pick a random point within a unit circle Based on: https://stackoverflow.com/questions/5837572/generate-a-random-point-within-a-circle-uniformly
Kind: global function
Param | Type |
---|---|
random | function |
result | Array.<number> | Float32Array |
result_offset | number |