Minor improvements

This commit is contained in:
ClemensFischer 2022-12-01 22:48:08 +01:00
parent 754e185c5d
commit 7e6b187fd7
9 changed files with 44 additions and 46 deletions

View file

@ -92,9 +92,7 @@ namespace MapControl
{
var hemisphere = hemispheres[0];
value = (value + 540d) % 360d - 180d;
if (value < -1e-8) // ~1mm
if (value < -1e-8) // ~1 mm
{
value = -value;
hemisphere = hemispheres[1];