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

Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
This commit is contained in:
Jan-Tarek Butt 2019-04-21 16:04:37 +02:00
parent 7e19749a9e
commit 441d682ab9
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 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