lua--平面两点间的距离

--平面两点间的距离 function mapshopwidget.twoPointToDistance(x1,y1,x2,y2) return math.sqrt(math.pow((y2-y1),2)+math.pow((x2-x1),2)) end