added ImmutableOrientedShapes

This commit is contained in:
Maxime Vorwerk
2023-08-25 16:02:16 +02:00
parent 77d3fa08ba
commit c0738a0d7c

View File

@@ -0,0 +1,9 @@
include("Shape.jl")
struct ImmutableOrientedShape
cubes::List{Tuple{Int8, Int8, Int8}}
hash::UInt
end
Base.hash(S::ImmutableOrientedShape) = S.hash
Base.hash(S::ImmutableOrientedShape, h::UInt) = S.hash h