Commit 79beaf39 authored by Jacob Kaufman's avatar Jacob Kaufman
Browse files

Fixed longitude to 360 code

The longtitude to 360 for polar projections was wrong
parent a434532f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -104,7 +104,11 @@ export default class AstroMath {
      convertedLon -= 180;
    }
    if (convertedLon < 0) {
      convertedLon += 360;
      convertedLon += 180;
    }
    else
    {
      convertedLon += 180;
    }

    return convertedLon;