[core] Remove TransformState::getNormalizedZoom

It calculated the same value as TransformState::getZoom.
This commit is contained in:
John Firebaugh
2016-02-02 09:13:13 -08:00
parent 7e18945f90
commit 5512d87362
5 changed files with 14 additions and 19 deletions

View File

@@ -148,10 +148,6 @@ double TransformState::pixel_y() const {
#pragma mark - Zoom
float TransformState::getNormalizedZoom() const {
return std::log(scale * util::tileSize / 512.0f) / M_LN2;
}
double TransformState::getZoom() const {
return std::log(scale) / M_LN2;
}