Fix the size of drawn segments.

This commit is contained in:
bʰedoh₂ swé 2024-04-07 19:14:32 +05:00
parent 1c342f163c
commit 08347cdc3f

View File

@ -145,7 +145,7 @@ def mainLoop():
pygame.draw.rect(display,ground, (0,360,1280,360))
n = 0
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
gPlayer.normalize()
if debugInfo: