Fix the size of drawn segments.
This commit is contained in:
parent
1c342f163c
commit
08347cdc3f
2
main.py
2
main.py
@ -145,7 +145,7 @@ def mainLoop():
|
|||||||
pygame.draw.rect(display,ground, (0,360,1280,360))
|
pygame.draw.rect(display,ground, (0,360,1280,360))
|
||||||
n = 0
|
n = 0
|
||||||
for i in drawn:
|
for i in drawn:
|
||||||
pygame.draw.rect(display,i.color, (n,int((nonzerocap(i.dist)) * 360),8,int((1 -nonzerocap(i.dist)) * 1280)))
|
pygame.draw.rect(display,i.color, (n,int((nonzerocap(i.dist)) * 360),4,int((1 -nonzerocap(i.dist)) * 1280)))
|
||||||
n += 4
|
n += 4
|
||||||
gPlayer.normalize()
|
gPlayer.normalize()
|
||||||
if debugInfo:
|
if debugInfo:
|
||||||
|
Loading…
Reference in New Issue
Block a user