gKit2 light
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PCG32I Struct Reference

Public Types

typedef unsigned result_type
 

Public Member Functions

 PCG32I (const unsigned s, const unsigned ss=2891336453u)
 
void seed (const unsigned s, const unsigned ss)
 
unsigned sample ()
 
unsigned sample_range (const unsigned range)
 
unsigned operator() ()
 

Static Public Member Functions

static constexpr unsigned min ()
 
static constexpr unsigned max ()
 

Public Attributes

unsigned x
 
unsigned key
 

Detailed Description

Definition at line 95 of file pcg.h.


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