Should result in a massive improvement — instead of checking 50x50 = 2500 cells for the default configuration, you only need to check 1x1 = 1 up to 13x13 = 169 cells. This commit also gives findCellsInRadialRange the wraparound behavior that is already present in findCellsInCardinalRange.
Should result in a massive improvement — instead of checking 50x50 = 2500 cells for the default configuration, you only need to check 1x1 = 1 up to 13x13 = 169 cells. This commit also gives findCellsInRadialRange the wraparound behavior that is already present in findCellsInCardinalRange.