Lakes, fixes
This commit is contained in:
parent
2061a12aff
commit
c9326931d3
8 changed files with 191 additions and 24 deletions
|
@ -52,4 +52,12 @@ public class MHelper {
|
|||
public static int floor(double x) {
|
||||
return x < 0 ? (int) (x - 1) : (int) x;
|
||||
}
|
||||
|
||||
public static int min(int a, int b) {
|
||||
return a < b ? a : b;
|
||||
}
|
||||
|
||||
public static int max(int a, int b) {
|
||||
return a > b ? a : b;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue