fix(mine.lua): implemented unimplemented function

This commit is contained in:
Emerson Rosen-Jones 2025-12-13 12:40:45 -05:00
parent b7e5ff879e
commit 9a8f81e428

View file

@ -286,6 +286,9 @@ function splitHorizontal (block)
-- Future work: potentially split a large block into smaller blocks -- Future work: potentially split a large block into smaller blocks
-- based on currentPos (think splitting down the middle instead of -- based on currentPos (think splitting down the middle instead of
-- splitting off of one end) -- splitting off of one end)
local differentSigns = function (a, b)
return math.abs(a + b) < math.abs(a) + math.abs(b)
end
local bigBlock = function (block) local bigBlock = function (block)
return (block.v2.x >= BIG_DIM) and (block.v2.z >= BIG_DIM) return (block.v2.x >= BIG_DIM) and (block.v2.z >= BIG_DIM)
end end