Allows drawing path to solution

This commit is contained in:
2022-01-18 20:05:30 -05:00
parent 08d49fbd26
commit f10d4061bd
6 changed files with 271 additions and 42 deletions

View File

@@ -107,3 +107,7 @@ int mazemaker_solve(mazegrid_t const* maze, maze_path_t* path) {
return code;
}
void mazemaker_path_free(maze_path_t* path) {
path->length = 0;
free(path->nodes);
}