Aardvark.Base


RandomSample

Static members

Static memberDescription
Lambertian(normal, rnds, seriesIndex)
Signature: (normal:V3d * rnds:IRandomSeries * seriesIndex:int) -> V3d

Supplied normal MUST be normalized, uses the 2 random series (seriesIndex, seriesIndex+1).

Spherical(rnds, seriesIndex)
Signature: (rnds:IRandomSeries * seriesIndex:int) -> V3d

Uses the 2 random series (seriesIndex, seriesIndex+1)

Fork me on GitHub