...
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
include("Shape.jl")
|
||||
using XXhash
|
||||
|
||||
struct ImmutableOrientedShape
|
||||
cubes::Vector{Tuple{Int8, Int8, Int8}}
|
||||
cubes::Vector{Tuple{Int64, Int64, Int64}}
|
||||
hash::UInt
|
||||
end
|
||||
|
||||
function getImmutableOrientedShape(S::Shape)
|
||||
shape = ImmutableOrientedShape(S.orderedLists[1], xxh3_64(S.orderedLists[1]))
|
||||
shape = ImmutableOrientedShape(S.orderedLists[1], hashList(S.orderedLists[1]))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user