[core] Use double in TransformState::zoomScale
This commit is contained in:
committed by
Ivo van Dongen
parent
d2c9750b6d
commit
5ae92de618
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user