diff --git a/libs/lua-math-polygon/src/math-polygon.lua b/libs/lua-math-polygon/src/math-polygon.lua index 76fd7f6..3066a3e 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 Rectengular defined by two point into polygon +-- Convert rectangular defined by two point into polygon function M.two_point_rec_to_poly(rec) local poly = {}; poly[1]["lon"] = rec[1].lon