public static class UniformSampling.Disk extends Object
| Constructor and Description |
|---|
Disk(long seed,
int numSamples,
Callback2d callback)
Create a new instance of
UniformSampling.Disk, initialize the random number generator with the given seed and generate numSamples number of sample
positions on the unit disk, and call the given callback for each sample generate. |
public Disk(long seed,
int numSamples,
Callback2d callback)
UniformSampling.Disk, initialize the random number generator with the given seed and generate numSamples number of sample
positions on the unit disk, and call the given callback for each sample generate.seed - the seed to initialize the random number generator withnumSamples - the number of samples to generatecallback - will be called for each sample generatedCopyright © 2015–2019 JOML. All rights reserved.