Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The RNG initializes to the same value every time you create it, so the output values are the same. I suggest seeding it with the current PC time (ex from getCPUTickCount().