_mirror_tuple WAS THE CULPRIT

This commit is contained in:
=
2024-02-08 14:01:09 +01:00
parent edb487bd98
commit 993ee1fd0c

View File

@@ -41,7 +41,7 @@ end
function _mirror_tuple(t::Coord, o::Int) function _mirror_tuple(t::Coord, o::Int)
funcs = [ funcs = [
(x, y, z) -> (x, y, z), (x, y, z) -> (x, y, z),
(x, y, z) -> (-z, -x, -y) (x, y, z) -> (-z, -y, -x)
] ]
return (funcs[o%2+1](t...), div(o, 2)) return (funcs[o%2+1](t...), div(o, 2))
end end