public final class MathUtils
extends java.lang.Object
public static int round(float d)
Math.round(float)
. This merely rounds its
argument to the nearest int, where x.5 rounds up to x+1.public static float distance(float aX, float aY, float bX, float bY)
public static float distance(int aX, int aY, int bX, int bY)