mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-27 13:25:25 -06:00
Add scrollwheel zoom :)
This commit is contained in:
parent
71d479a399
commit
443187fb60
5 changed files with 27 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue