diff options
author | ymherklotz <ymherklotz@gmail.com> | 2016-12-11 12:56:44 +0000 |
---|---|---|
committer | ymherklotz <ymherklotz@gmail.com> | 2016-12-11 12:56:44 +0000 |
commit | 85a84c87350ee1ef2b1adc1c3b1d4418de87b064 (patch) | |
tree | ba7dd9e617b43834b3a7d408a8e29007827bcc76 | |
parent | bda878a84a62765875dd316d8280fe1743952aee (diff) | |
download | A-star-algorithm-85a84c87350ee1ef2b1adc1c3b1d4418de87b064.tar.gz A-star-algorithm-85a84c87350ee1ef2b1adc1c3b1d4418de87b064.zip |
finished rough version of algorithmfix_1
-rwxr-xr-x | bin/main | bin | 418000 -> 418000 bytes | |||
-rw-r--r-- | src/main.cpp | 4 |
2 files changed, 2 insertions, 2 deletions
Binary files differ diff --git a/src/main.cpp b/src/main.cpp index 4640dfe..feb3bc0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,7 @@ int main(int argc, char *argv[]) { const int start_x = 9; const int start_y = 13; - const int end_x = 89; + const int end_x = 76; const int end_y = 38; // print out that information. @@ -86,7 +86,7 @@ int main(int argc, char *argv[]) { tiles[i] = 0; tiles[start_y * cols + start_x] = 3; - tiles[end_y * rows + end_x] = 2; + tiles[end_y * cols + end_x] = 2; path_finder.start_algorithm(tiles, cols, rows); |