diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-29 01:55:42 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-29 01:55:42 +0200 |
commit | 07fde40a846f11d123ddc2ccf182e417c561931a (patch) | |
tree | 79238dfaa1bfe3029ce92ad17f7db72008cf2231 /gui.py | |
parent | 3741d3bb804542f7e994763ed2f2ebabe56bd5eb (diff) |
stuff
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -206,8 +206,8 @@ def draw_cell(cell): cx,cy = world_to_win_pt(cell.pos,c.player.center) try: mov_ang = cell.movement_angle - p2 = cell.pos + Vec( math.cos(mov_ang + 10*math.pi/180), math.sin(mov_ang + 10*math.pi/180) ) * (cell.size+700) - p3 = cell.pos + Vec( math.cos(mov_ang - 10*math.pi/180), math.sin(mov_ang - 10*math.pi/180) ) * (cell.size+700) + p2 = cell.pos + Vec( math.cos(mov_ang + 26*math.pi/180), math.sin(mov_ang + 26*math.pi/180) ) * (cell.size+700) + p3 = cell.pos + Vec( math.cos(mov_ang - 26*math.pi/180), math.sin(mov_ang - 26*math.pi/180) ) * (cell.size+700) cx2,cy2 = world_to_win_pt(p2,c.player.center) cx3,cy3 = world_to_win_pt(p3,c.player.center) |