summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomap_p_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-01-12 18:02:45 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-02-27 17:04:47 +0000
commit11e6a62957433843816b41ad11fada7ca8eab85c (patch)
tree22baca117d83825ef1596cb7abb9874309fda2c0 /src/location/maps/qgeomap_p_p.h
parent7692448da626e803a05344e6ef31ecac9cc5b460 (diff)
downloadqtlocation-11e6a62957433843816b41ad11fada7ca8eab85c.tar.gz
Use qRadiansToDegrees() and qDegreesToRadians() more widely
They document intent more clearly (and replace *two* local hand-rolled versions of each). Also kill an extraneous #include of <math.h>; and switch to qmath.h as source for M_PI, replacing the M_PID value (and friends) previously provided by (thankfully private) qlocationutils_p.h (at more precision than even long double would retain - qmath.h's M_PI is entirely sufficient even for long double, as is the Linux <math.h> one). Task-number: QTBUG-58083 Change-Id: I6fa4abd3c8ed9c826998f2cdc2aefc51681c19c1 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/location/maps/qgeomap_p_p.h')
0 files changed, 0 insertions, 0 deletions