Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
2点間の角度
var dx:Number = x2 - x1;
var dy:Number = y2 - y1;
var angle:Number = Math.atan2(dy, dx); // ラジアン
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment