var a = {x:1,y:1}; var b = {x:3,y:3}; alert(Math.atan2(b.y-a.y, b.x-a.x)/Math.PI*180);
87,903
社区成员
224,614
社区内容
加载中
试试用AI创作助手写篇文章吧