Fix for negative QGeoCoordinate.azimuthTo results in range ]360, 359[
QGeoCoordinate.azimuthTo() currently returns negative value
(between 0 and -1) for azimuths that should instead be in the range
between 360 and 359.
This patch should bring all returned values in the range [0, 360[
(360 excluded).
Change-Id: I0b5ee7c3fc2bbeb80ca8167a53c7c16d9e067e29
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | 4528d53b7429e48c51988002bf35e3615a152cb5 |
| parent | 46bef1bf9b00727832cad35440c554f26e7457b9 |
| author | Paolo Angelelli <paolo.angelelli@theqtcompany.com> |
| committer | Paolo Angelelli <paolo.angelelli@theqtcompany.com> |
| commit time | Mon, 11 Apr 2016 13:36:46 +0000 |