Use qRadiansToDegrees() and qDegreesToRadians() more widely
These document what the arithmetic is actually doing; and save us an
ad-hoc use of an approximate value for pi while we're about it.
Task-number: QTBUG-58083
Change-Id: I82c5502af724b33ec598c5a9da76537f93a95eac
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
| commit | af03eef4ab3cc41a6148d1f73fef1193f4fc4dcb |
| parent | 53fcf914e278ed4395a4873af2b64272c5d7882c |
| author | Edward Welbourne <edward.welbourne@qt.io> |
| committer | Edward Welbourne <edward.welbourne@qt.io> |
| commit time | Wed, 14 Jun 2017 08:21:29 +0000 |