orient_tuple return correctly now
This commit is contained in:
@@ -16,7 +16,7 @@ function neighbors(x::Int, y::Int, z::Int)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function orient_tuple(t::Coord, o::Int)
|
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
|
end
|
||||||
|
|
||||||
function _shift_tuple(t::Coord, o::Int)
|
function _shift_tuple(t::Coord, o::Int)
|
||||||
|
|||||||
Reference in New Issue
Block a user