You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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! :)
The text was updated successfully, but these errors were encountered:
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! :)
The text was updated successfully, but these errors were encountered: