public static float GetRandomFloat(double maximum = 1.0, double minimum = 0.0) { return((float)(ThreadSafeRandom.Get().NextDouble() * (maximum - minimum) + minimum)); }
public static Vector3 GetRandomVector(int minValue, int maxValue, float fix_y = 1.0f) { return(new Vector3(ThreadSafeRandom.Get().Next(minValue, maxValue), fix_y, ThreadSafeRandom.Get().Next(minValue, maxValue))); }
public static int GetRandomInt(int min, int max) { return(ThreadSafeRandom.Get().Next(min, max)); }