OpenMap-java/openmap

NedFrame.toHeading() calculation error

t0034514 opened this issue · 0 comments

When dealing with angles less than 0, the code is:

degrees += degrees + 360;

which is clearly a typeo, it should be

degrees = degrees + 360; // Or degrees += 360;