public static float RandomFloat(Random r, float argLow, float argHigh) { return (float)r.NextDouble() * (argHigh - argLow) + argLow; }