Match the argument ordering of the float version.

This commit is contained in:
Michael Bayne
2011-11-16 13:56:33 -08:00
parent 26cf80f38f
commit cc5e599235
+1 -1
View File
@@ -12,7 +12,7 @@ public class MathUtil
/**
* Clamps the supplied {@code value} to between {@code low} and {@code high} (both inclusive).
*/
public static int clamp (int low, int value, int high) {
public static int clamp (int value, int low, int high) {
if (value < low) return low;
if (value > high) return high;
return value;