[core] Use double in TransformState::zoomScale

This commit is contained in:
Bruno de Oliveira Abinader
2016-11-19 17:27:03 +02:00
committed by Ivo van Dongen
parent d2c9750b6d
commit 5ae92de618

View File

@@ -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 {