private static float Between(Rnd rnd, float min, float max) { return((float)rnd.NextDouble() * (max - min) + min); }
private static bool Boolean(Rnd rnd) { return(rnd.NextDouble() >= 0.5); }