From 441d682ab9985b6b578ef9492af6ac5e23f6cac7 Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Sun, 21 Apr 2019 16:04:37 +0200 Subject: [PATCH] libs/lua-math-polygon: fix spelling Rectengular -> rectangular 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 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