From 82d67d6912008f179054c8e2e74a84d2cd62d31c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 2 Feb 2016 18:04:25 -0800 Subject: [core] Remove unused --- include/mbgl/util/projection.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/mbgl/util/projection.hpp') diff --git a/include/mbgl/util/projection.hpp b/include/mbgl/util/projection.hpp index f067db2e1f..bee5eac8ae 100644 --- a/include/mbgl/util/projection.hpp +++ b/include/mbgl/util/projection.hpp @@ -11,16 +11,6 @@ namespace mbgl { class Projection { public: - static inline MetersBounds getWorldBoundsMeters() { - const double d = util::EARTH_RADIUS_M * M_PI; - return { { -d, -d }, { d, d } }; - } - - static inline LatLngBounds getWorldBoundsLatLng() { - MetersBounds bounds = getWorldBoundsMeters(); - return { latLngForProjectedMeters(bounds.sw), latLngForProjectedMeters(bounds.ne) }; - } - static inline double getMetersPerPixelAtLatitude(double lat, double zoom) { const double mapPixelWidthAtZoom = std::pow(2.0, zoom) * util::tileSize; const double constrainedLatitude = ::fmin(::fmax(lat, -util::LATITUDE_MAX), util::LATITUDE_MAX); -- cgit v1.2.1