mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(zones): debug functions should not be global
This commit is contained in:
@@ -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