diff --git a/library/src/com/google/maps/android/SphericalUtil.java b/library/src/com/google/maps/android/SphericalUtil.java index 48dce5534..3918bd53a 100644 --- a/library/src/com/google/maps/android/SphericalUtil.java +++ b/library/src/com/google/maps/android/SphericalUtil.java @@ -250,23 +250,4 @@ private static double polarTriangleArea(double tan1, double lng1, double tan2, d double t = tan1 * tan2; return 2 * atan2(t * sin(deltaLng), 1 + t * cos(deltaLng)); } - - /** - * Wraps the given value into the inclusive-exclusive interval between min and max. - * @param n The value to wrap. - * @param min The minimum. - * @param max The maximum. - */ - static double wrap(double n, double min, double max) { - return (n >= min && n < max) ? n : (mod(n - min, max - min) + min); - } - - /** - * Returns the non-negative remainder of x / m. - * @param x The operand. - * @param m The modulus. - */ - static double mod(double x, double m) { - return ((x % m) + m) % m; - } }