From f977dc9c620099ae9183ed5369a64b57037a027c Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Sun, 10 Mar 2019 18:25:44 +0100 Subject: [PATCH] package/gluon-hoodselector util: fix wrong function signature Signed-off-by: Jan-Tarek Butt --- .../gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua b/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua index 05e8cb8c..c7d76cce 100644 --- a/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua +++ b/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua @@ -92,7 +92,7 @@ end function M.point_in_polygon(poly, point) local t = -1 for i=1,#poly-1 do - t = t * M.crossProdTest(point.lon,point.lat,poly[i].lon,poly[i].lat,poly[i+1].lon,poly[i+1].lat) + t = t * M.cross_prod_test(point.lon,point.lat,poly[i].lon,poly[i].lat,poly[i+1].lon,poly[i+1].lat) if t == 0 then break end end return t