static float FloatDeterministic( System.Random self, int i )

Summary

Get a random float (0-1) from a pre-calculated list. This is faster, and if you put the same seed in, it will always return the same number. The downside is that it only has 8192 variations of floats, but that seem like enough for most things.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.