Add scrollwheel zoom :)

This commit is contained in:
ceikry 2022-06-19 12:15:06 -05:00
parent 71d479a399
commit 443187fb60
5 changed files with 27 additions and 1 deletions

View file

@ -32,4 +32,8 @@ public final class MathUtils {
cos[i] = (int) (Math.cos((double) i * 0.0030679615D) * 65536.0D);
}
}
public static int clamp(int min, int max, int value) {
return Math.max(min, Math.min(max, value));
}
}