From 07e14fa2f5edeb3f54cbca3b5baa9990ea4c8f62 Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Sun, 21 Apr 2019 16:08:40 +0200 Subject: [PATCH] libs/lua-math-polygon: fix spelling rectangular -> rectangle Signed-off-by: Jan-Tarek Butt --- libs/lua-math-polygon/src/math-polygon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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