orient_tuple return correctly now

This commit is contained in:
=
2024-02-08 12:16:10 +01:00
parent cce1db0714
commit 7b34c16f05

View File

@@ -16,7 +16,7 @@ function neighbors(x::Int, y::Int, z::Int)
end
function orient_tuple(t::Coord, o::Int)
return _shift_tuple(_flip_tuple(_mirror_tuple(t, o-1)...)...)
return _shift_tuple(_flip_tuple(_mirror_tuple(t, o-1)...)...)[1]
end
function _shift_tuple(t::Coord, o::Int)