Skip to content
Snippets Groups Projects
Commit 60bfc1a5 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Added offset again

parent 0b306b57
No related branches found
No related tags found
1 merge request!56Resolve "More FOV"
Pipeline #46093 passed
...@@ -166,7 +166,7 @@ class Visualizer: ...@@ -166,7 +166,7 @@ class Visualizer:
left_beam = pos + (direction.rotate(angle) * rect_scale * 2) left_beam = pos + (direction.rotate(angle) * rect_scale * 2)
right_beam = pos + (direction.rotate(-angle) * rect_scale * 2) right_beam = pos + (direction.rotate(-angle) * rect_scale * 2)
offset_front = direction * grid_size * 0.0 offset_front = direction * grid_size * 0.7
if angle != 180: if angle != 180:
pygame.draw.polygon( pygame.draw.polygon(
screen, screen,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment