RandomSeriesExtensions
Static members
Static member | Description |
UniformV3dDirection(rnd, si0, si1)
Signature: (rnd:IRandomSeries * si0:int * si1:int) -> V3d
|
Returns a uniformly distributed vector (corresponds to a uniformly distributed point on the unit sphere) by using 2 random values from the series with the supplied indices. Note, that the returned vector will never be equal to [0, 0, -1]. |