BruceJawn/java-actionscript-api-for-android

getAngleByRadians is wrong

GoogleCodeExporter opened this issue · 1 comments

According to java api atan2 expects first dy parameter and the dx. So the code 
in droid.misc.Angle.getAngleByRadians will give wrong results.

Trivial patch attached (swap parameters of atan2)

Original issue reported on code.google.com by vladmiha...@gmail.com on 10 Jul 2010 at 11:36

Attachments:

fixed in revision 43

Original comment by mj.mendo...@gmail.com on 11 Apr 2012 at 6:50

  • Changed state: Fixed