|
gKit2 light
|
generation de nombres aleatoires entre 0 et 1. More...
Public Member Functions | |
| Sampler (const unsigned _seed) | |
| void | seed (const unsigned _seed) |
| float | sample () |
| int | sample_range (const int n) |
| Sampler (const unsigned _seed) | |
| void | seed (const unsigned _seed) |
| float | sample () |
| int | sample_range (const int n) |
Public Attributes | |
| std::uniform_real_distribution< float > | u01 |
| std::default_random_engine | rng |
generation de nombres aleatoires entre 0 et 1.
Definition at line 364 of file tuto_bvh2_gltf.cpp.
|
inline |
Definition at line 369 of file tuto_bvh2_gltf.cpp.
|
inline |
Definition at line 605 of file tuto_bvh2_gltf_brdf.cpp.
|
inline |
Definition at line 370 of file tuto_bvh2_gltf.cpp.
|
inline |
Definition at line 372 of file tuto_bvh2_gltf.cpp.
|
inline |
Definition at line 374 of file tuto_bvh2_gltf.cpp.
|
inline |
Definition at line 606 of file tuto_bvh2_gltf_brdf.cpp.
|
inline |
Definition at line 608 of file tuto_bvh2_gltf_brdf.cpp.
|
inline |
Definition at line 610 of file tuto_bvh2_gltf_brdf.cpp.
| std::uniform_real_distribution< float > Sampler::u01 |
Definition at line 366 of file tuto_bvh2_gltf.cpp.
| std::default_random_engine Sampler::rng |
Definition at line 367 of file tuto_bvh2_gltf.cpp.