Updated /f map compass to use new official north
This commit is contained in:
parent
43a086d420
commit
78a62bc25c
@ -38,7 +38,7 @@ public class AsciiCompass
|
|||||||
|
|
||||||
public static AsciiCompass.Point getCompassPointForDirection(double inDegrees)
|
public static AsciiCompass.Point getCompassPointForDirection(double inDegrees)
|
||||||
{
|
{
|
||||||
double degrees = (inDegrees - 90) % 360 ;
|
double degrees = (inDegrees - 180) % 360 ;
|
||||||
if (degrees < 0)
|
if (degrees < 0)
|
||||||
degrees += 360;
|
degrees += 360;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user