summaryrefslogtreecommitdiff
path: root/src/mbgl/map
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-19 17:27:03 +0200
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2016-11-27 18:50:24 +0200
commit5ae92de618e5242f6a8a30485b5ecaa9ef0ebb5e (patch)
tree95a37a031c3c1ee4be79303691ec9f60eb4efea9 /src/mbgl/map
parentd2c9750b6d5fba2a242d927d47dfb7e58b66cebb (diff)
downloadqtlocation-mapboxgl-5ae92de618e5242f6a8a30485b5ecaa9ef0ebb5e.tar.gz
[core] Use double in TransformState::zoomScale
Diffstat (limited to 'src/mbgl/map')
-rw-r--r--src/mbgl/map/transform_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/transform_state.cpp b/src/mbgl/map/transform_state.cpp
index 23264ff274..59ae129518 100644
--- a/src/mbgl/map/transform_state.cpp
+++ b/src/mbgl/map/transform_state.cpp
@@ -199,7 +199,7 @@ bool TransformState::isGestureInProgress() const {
#pragma mark - Projection
double TransformState::zoomScale(double zoom) const {
- return std::pow(2.0f, zoom);
+ return std::pow(2.0, zoom);
}
double TransformState::scaleZoom(double s) const {