diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-11 02:57:18 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-11 02:57:18 +0200 |
commit | 078afaad7b988e20bb3dc36a5b1821c08d8a6a99 (patch) | |
tree | b15a8e65c597549dd4a24090c36e3978fbbd49e7 /main.py | |
parent | a5338ee3d9b2342db41bd603889e20e761a3a5ce (diff) |
draw forbidden directions (debug output)
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -69,6 +69,10 @@ while True: if (runaway): forbidden_intervals = merge_intervals(forbidden_intervals) + + for i in forbidden_intervals: + gui.draw_arc(c.player.center, c.player.total_size+10, i, (255,0,255)) + allowed_intervals = invert_angle_intervals(forbidden_intervals) (a,b) = find_largest_angle_interval(allowed_intervals) |