angle maths

BlitzMax Forums/BlitzMax Programming/angle maths

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

That would be ATan2( ydif, xdif ).

ATan will give the same result for ATan( ydif / xdif ) and ATan( -ydif / -xdif ). Thus it is good only for a 180 degree range.