Err, dont angles work counter clockwise in robocode too? was this a change from the original. |
Err, dont angles work counter clockwise in robocode too? was this a change from the original. Nope, I'm pretty sure Robocode has used polar trig from the beginning (the idea is that it goes the same way as North-South-East-West in nautical directions - 0 degrees is North, 90 degrees is East, etc. The effect is that instead of adding 90 degrees to all your uses of trig functions, you just swap your sines and cosines. -- Kawigi |