changed algorithm to make use of recent cubes
This commit is contained in:
@@ -17,7 +17,7 @@ end
|
||||
|
||||
function getPossibleNeighbors(S::Polycube)
|
||||
possibleSpots = Set{Tuple{Int64, Int64, Int64}}()
|
||||
for p ∈ S.cubes
|
||||
for p ∈ S.recentCubes
|
||||
push!(possibleSpots,
|
||||
p + (1, 0, 0),
|
||||
p + (0, 1, 0),
|
||||
|
||||
Reference in New Issue
Block a user