摘要: 脚本代码。<script>var getAngle = function (Xc, Yc, Xa, Ya, Xb, Yb) { var v1x = Xb - Xc; var v1y = Yb - Yc; var v2x = Xa - Xc; var v2y = Ya - Yc; return 180 * (Math.atan2(v1x, v1y) - Math.atan2(v2x, v2y)) / Math.PI}; var left_center_offset = { left: 30, top: 8... 阅读全文
posted @ 2013-05-24 13:16 幽棠卓影 阅读(186) 评论(0) 推荐(0) 编辑