mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-08 23:53:57 +00:00
fix(zones): debug functions should not be global
This commit is contained in:
1 parent
634dd747b7
commit
c7bab9b47f
1 file changed
+3
-3
@@ -43,15 +43,15 @@ local function getTriangles(polygon)
|
||||
end
|
||||
end
|
||||
|
||||
function up(a, b)
|
||||
local function up(a, b)
|
||||
return a.y > b.y
|
||||
end
|
||||
|
||||
function down(a, b)
|
||||
local function down(a, b)
|
||||
return a.y < b.y
|
||||
end
|
||||
|
||||
function makeTriangles(t)
|
||||
local function makeTriangles(t)
|
||||
if t[3] and t[4] then
|
||||
triangles[#triangles + 1] = mat(t[1], t[2], t[3])
|
||||
triangles[#triangles + 1] = mat(t[2], t[3], t[4])
|
||||
|
||||
Reference in new issue
Block a user