查看: 1708|回覆: 0

[Jass] AngleBetweenPointsXY

[複製鏈接]
發表於 2007-4-23 15:39:59 | 顯示全部樓層 |閲讀模式
  1. function AngleBetweenPointsXY takes real x1, real y1, real x2, real y2 returns real
  2.     return Atan2BJ((y2-y1),(x2-x1))
  3. endfunction
複製代碼


轉貼自https://www.wc3jass.com/
 
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

关注公众号

相关侵权、举报、投诉及建议等,请发 E-mail:[email protected]

Powered by Discuz! X5.0 Licensed © 2001-2026 Discuz! Team.

在本版發帖
关注公众号
返回頂部