bglibs
|
#include <surfrand.h>
Data Fields | |
unsigned | left |
uint32 | generated [SURF_OUT_U32] |
uint32 | seed [SURF_SEED_U32] |
uint32 | counter [SURF_IN_U32] |
The surfrand state structure
uint32 surfrand::counter[SURF_IN_U32] |
a giant counter used as input to SURF
Referenced by surfrand_init().
uint32 surfrand::generated[SURF_OUT_U32] |
temporary storage for the generated random data
Referenced by surfrand_uint32().
unsigned surfrand::left |
counts the number of bytes in generated
that have been output already
Referenced by surfrand_init(), and surfrand_uint32().
uint32 surfrand::seed[SURF_SEED_U32] |
the input seed data
Referenced by surfrand_init().