Stephen wrote:
The main problem is when dealing with negative angles, angles > 360, and also getting the shortest distance (i.e. not the long way round). For example, the difference between -359 and 359 should be 2 degrees. The difference between 90 and -270 should be zero. Etc.. etc.. Can anyone help please?
Peter
--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html