libs/lua-math-polygon: fix spelling rectangular -> rectangle

Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
This commit is contained in:
Jan-Tarek Butt 2019-04-21 16:08:40 +02:00
parent 441d682ab9
commit 07e14fa2f5
1 changed files with 1 additions and 1 deletions

View File

@ -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