(float val, float min, float max)
| 3 | public class NumUtils |
| 4 | { |
| 5 | public static float limit(float val, float min, float max) |
| 6 | { |
| 7 | return val < min ? min : (val > max ? max : val); |
| 8 | } |
| 9 | |
| 10 | public static int mod(int x, int y) |
| 11 | { |
no outgoing calls
no test coverage detected