diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-02-22 20:35:39 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-03-06 14:43:34 +0000 |
commit | 9a1b163e1fdd99a838c082805c687205b766da25 (patch) | |
tree | c9ce4b7fc05d93280628043c98c4e24b5c34e901 /doc | |
parent | bd1e063980355c82bb20af81a826a2860248ce6a (diff) | |
download | qtsensors-9a1b163e1fdd99a838c082805c687205b766da25.tar.gz |
Use qRadiansToDegrees() and qDegreesToRadians() more widely
They document intent more clearly than arithmetic with pi does.
Also eliminate some hand-rolled RADIANS_TO_DEGREES constants in
favor of calling qRadiansToDegrees().
Change-Id: I7ca5e876b3591433bf681b56ad51c4cb409ac59f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions