Custom Sky
This commit is contained in:
parent
9eb993f154
commit
754fb0ef92
13 changed files with 339 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue