#include <c4d_tools.h>
A class to generate stratified 2D random numbers.
Public Types | |
| using | IsAllocType = std::true_type |
Public Member Functions | |
| Bool | Init (Int32 initial_value, Bool reset) |
| void | GetNext (Float *xx, Float *yy) |
Static Public Member Functions | |
| static Stratified2DRandom * | Alloc () |
| static Stratified2DRandom * | Alloc (const maxon::SourceLocation &) |
| static void | Free (Stratified2DRandom *&rnd) |
Private Member Functions | |
| Stratified2DRandom () | |
| ~Stratified2DRandom () | |
| using IsAllocType = std::true_type |
|
private |
|
private |
|
static |
|
static |
|
static |
Initializes the generator.
| [in] | initial_value | Initial value. |
| [in] | reset | true if the generator should be reset, otherwise false. |