diff --git a/libs/lua-math-polygon/src/math-polygon.lua b/libs/lua-math-polygon/src/math-polygon.lua index 3066a3e..a5b2400 100644 --- a/libs/lua-math-polygon/src/math-polygon.lua +++ b/libs/lua-math-polygon/src/math-polygon.lua @@ -53,7 +53,7 @@ function M.point_in_polygon(poly, point) return t end --- Convert rectangular defined by two point into polygon +-- Convert rectangle defined by two point into polygon function M.two_point_rec_to_poly(rec) local poly = {}; poly[1]["lon"] = rec[1].lon