diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-23 18:08:15 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-03-06 21:09:54 +0000 |
commit | 9c2bf32b1185cdfcf448a76dbc4a9ba18ae68b05 (patch) | |
tree | ef7338aaaa9198b3d6b2bacd3ae16a11b9079a75 /LICENSE.LGPLv21 | |
parent | 7a6c1a93a0c1f7305f861b2f717bf71f2c7eaae7 (diff) | |
download | qtlocation-9c2bf32b1185cdfcf448a76dbc4a9ba18ae68b05.tar.gz |
Optimize QGeoProjectionWebMercator::wrappedMapProjectionToItemPosition
This patch bakes all the required linear transformations performed
in the method inside a 4x4 double matrix, removing 4 of the 5
instructions previously performed.
Autotest adaptations with compares instead of verifys have been
necessary due to small epsilons in the results.
Change-Id: I7795173a27812eb93a48e3175ad24fd546aeec04
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'LICENSE.LGPLv21')
0 files changed, 0 insertions, 0 deletions