diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-26 15:33:50 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-30 11:45:45 +0000 |
commit | 19fa507fc6c75e472d88f97353ded9340c084de8 (patch) | |
tree | 20be9d5c58280473859c6ff681f5de8585a6a416 /src/location/maps/qgeoprojection.cpp | |
parent | 7fc3265612963e8d4c58c2b3fd4d2d432b64483b (diff) | |
download | qtlocation-19fa507fc6c75e472d88f97353ded9340c084de8.tar.gz |
Clean up dead code and TODO comments
This patch cleans up dead or disabled code and TODO comments added
with change c57d42b47004623db9b934d0688180ec6dc1a73e
Change-Id: I2817f20c8eb56386f8dbee2c661e3034f48caa30
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/location/maps/qgeoprojection.cpp')
-rw-r--r-- | src/location/maps/qgeoprojection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/location/maps/qgeoprojection.cpp b/src/location/maps/qgeoprojection.cpp index 15f400d9..586dcb02 100644 --- a/src/location/maps/qgeoprojection.cpp +++ b/src/location/maps/qgeoprojection.cpp @@ -388,8 +388,7 @@ void QGeoProjectionWebMercator::setupCamera() m_centerNearPlane = m_eye + m_viewNormalized; m_centerNearPlaneMercator = m_eyeMercator + m_viewNormalized * m_nearPlaneMercator; - // TODO: support tilting angles > 90.0, if desired. And flip the bottom corners with the top corners, if needed - // by clipper. + // The method does not support tilting angles >= 90.0 or < 0. // The following formula is used to have a growing epsilon with the zoom level, // in order not to have too large values at low zl, which would overflow when converted to Clipper::cInt. |