From 2ae37d0bc9698c5e6e06bacaffa513b5358545e2 Mon Sep 17 00:00:00 2001 From: sp Date: Mon, 8 Jan 2024 16:50:00 +0100 Subject: [PATCH] removed unused function --- util/Grid.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/util/Grid.cpp b/util/Grid.cpp index b2dd09f..294ddd1 100644 --- a/util/Grid.cpp +++ b/util/Grid.cpp @@ -186,18 +186,3 @@ void Grid::printToPrism(std::ostream& os, std::vector& configurat // modules.printConfiguration(os, configuration); //} } - - -std::array Grid::getWalkableDirOf8Neighborhood(cell c) /* const */ { - return (std::array) - { - !isBlocked(c.getNorth()), - !isBlocked(c.getNorth(allGridCells).getEast()), - !isBlocked(c.getEast()), - !isBlocked(c.getSouth(allGridCells).getEast()), - !isBlocked(c.getSouth()), - !isBlocked(c.getSouth(allGridCells).getWest()), - !isBlocked(c.getWest()), - !isBlocked(c.getNorth(allGridCells).getWest()) - }; -}