This commit is contained in:
parent
c9a3dec823
commit
9c03318e3f
@ -50,9 +50,9 @@ defmodule Example.Game do
|
|||||||
gz = cz * 16 + z
|
gz = cz * 16 + z
|
||||||
gy = y
|
gy = y
|
||||||
if rem(gx, 4) == 0 && rem(gy, 4) == 0 && rem(gz, 4) == 0 do
|
if rem(gx, 4) == 0 && rem(gy, 4) == 0 && rem(gz, 4) == 0 do
|
||||||
{abs(rem(div(gx + gy + gz, 4), 300)), 15, 15}
|
{abs(rem(div(gx + gy + gz, 4), 300)), 7, 7}
|
||||||
else
|
else
|
||||||
{0, 15, 15}
|
{0, 7, 7}
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user