28 INLINE
explicit Randomizer(
unsigned long seed = 0);
30 INLINE
void operator = (
const Randomizer ©);
32 INLINE
int random_int(
int range);
33 INLINE
double random_real(
double range);
34 INLINE
double random_real_unit();
36 INLINE
static unsigned long get_next_seed();
37 INLINE
unsigned long get_seed();
42 static bool _got_first_seed;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A handy class to return random numbers.