lua--平面兩點間的距離

--平面兩點間的距離 function mapshopwidget.twoPointToDistance(x1,y1,x2,y2) return math.sqrt(math.pow((y2-y1),2)+math.pow((x2-x1),2)) end
相關文章
相關標籤/搜索