libs/lua-math-polygon: fix spelling Rectengular -> rectangular
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
This commit is contained in:
parent
7e19749a9e
commit
441d682ab9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue