Files
PolyCubeCounting/julia/ImmutableOrientedShape.jl
2023-08-25 16:53:57 +02:00

12 lines
258 B
Julia

include("Shape.jl")
using XXhash
struct ImmutableOrientedShape
cubes::Vector{Tuple{Int8, Int8, Int8}}
hash::UInt
end
function getImmutableOrientedShape(S::Shape)
shape = ImmutableOrientedShape(S.orderedLists[1], xxh3_64(S.orderedLists[1]))
end