Syntax
This commit is contained in:
parent
2bfe5fcc6d
commit
bd3b15a1e8
@ -60,7 +60,7 @@ function adjustToQuadrant(i, x, z)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function iTo2Dcoords(j)
|
function iTo2Dcoords(j)
|
||||||
i = j // 4
|
i = math.floor(j / 4)
|
||||||
quadrantI = j % 4 -- 0-3 quadrant
|
quadrantI = j % 4 -- 0-3 quadrant
|
||||||
counter = 0 -- number of digging spots found
|
counter = 0 -- number of digging spots found
|
||||||
j = 0 -- enumerate 2D plane
|
j = 0 -- enumerate 2D plane
|
||||||
|
Loading…
Reference in New Issue
Block a user