gKit2 light
Public Member Functions | Public Attributes | List of all members
Sampler Struct Reference

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
 

Detailed Description

generation de nombres aleatoires entre 0 et 1.

Definition at line 364 of file tuto_bvh2_gltf.cpp.


The documentation for this struct was generated from the following files: