Custom Sky

This commit is contained in:
paulevsGitch 2020-09-22 22:34:37 +03:00
parent 9eb993f154
commit 754fb0ef92
13 changed files with 339 additions and 7 deletions

View file

@ -14,6 +14,10 @@ public class MHelper {
public static int randRange(int min, int max, Random random) {
return min + random.nextInt(max - min + 1);
}
public static double randRange(double min, double max, Random random) {
return min + random.nextDouble() * (max - min);
}
public static float randRange(float min, float max, Random random) {
return min + random.nextFloat() * (max - min);