mirror of
https://github.com/ppy/osu.git
synced 2025-02-10 07:33:02 +08:00
Make FastRandom public
This commit is contained in:
parent
ca2c209701
commit
8c8e87ed7a
@ -8,7 +8,7 @@ namespace osu.Game.Rulesets.Catch.MathUtils
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A PRNG specified in http://heliosphan.org/fastrandom.html.
|
/// A PRNG specified in http://heliosphan.org/fastrandom.html.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class FastRandom
|
public class FastRandom
|
||||||
{
|
{
|
||||||
private const double int_to_real = 1.0 / (int.MaxValue + 1.0);
|
private const double int_to_real = 1.0 / (int.MaxValue + 1.0);
|
||||||
private const uint int_mask = 0x7FFFFFFF;
|
private const uint int_mask = 0x7FFFFFFF;
|
||||||
|
Loading…
Reference in New Issue
Block a user