point A x coordinate
point A y coordinate
point B x coordinate
point B y coordinate
Euclidean distance between points A and B
Ends up being a bit faster than {@link Math#round(float)}. This merely rounds its argument to the nearest int, where x.5 rounds up to x+1. Semantics of this shortcut differ slightly from {@link Math#round(float)} in that half rounds down for negative values. -2.5 rounds to -3, not -2. For purposes here it makes no difference.
real value to round
nearest {@code int}
values to sum
sum of values in array
Generated using TypeDoc
General math-related and numeric utility functions.