Hi! Thanks for the great work!
Why You take only a half of circle in get_search_paths_dst method of PathIndex class:
for x in range(1, max_radius):
search_dirs.append((0, x))
for y in range(1, max_radius):
for x in range(-max_radius + 1, max_radius):
if x * x + y * y < max_radius ** 2:
search_dirs.append((y, x))
Maybe I miss something? Thanks for the explanation! :)
Hi! Thanks for the great work! Why You take only a half of circle in
get_search_paths_dst
method ofPathIndex
class:Maybe I miss something? Thanks for the explanation! :)