finding angles 0-360
<p>Need help with a math issue:
i need to get the true angle from 0 degrees using x and y cordinates
im using this at the moment:</p>

<p>Math.atan((x2-x1)/(y1-y2))/(Math.PI/180)</p>

<p>but /(Math.PI/180) limits results from -90 to 90
i need 0-360</p>

<p>note: im using the angle to indicate direction:
0=up
90=right
135=45 degree right+down
180=down
270=left
etc </p>
