摘要: //获得角度function getAngle(angx, angy) {return Math.atan2(angy, angx) * 180 / Math.PI;};//根据起点终点返回方向 1向上 2向下 3向左 4向右 0未滑动function getDirection(startx, st 阅读全文
posted @ 2019-07-22 15:17 萧一下 阅读(489) 评论(0) 推荐(0) 编辑