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