passt sich nun den wondows an
This commit is contained in:
parent
48d9217816
commit
c54deb4d30
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -26,7 +26,7 @@ def get_best_size():
|
|||
if screensize[0] <= screensize[1]:
|
||||
best = screensize[0]
|
||||
else:
|
||||
best = screensize[0]
|
||||
best = screensize[1]
|
||||
return best
|
||||
|
||||
pygame.init()
|
||||
|
@ -62,7 +62,7 @@ if __name__ == "__main__":
|
|||
best_radios = get_best_size()/2-20
|
||||
if winkel >= 360 or winkel <= -1:
|
||||
winkel = 0
|
||||
a,b = berechne_dreieck(winkel,200)#screensize[0]*screensize[1])
|
||||
a,b = berechne_dreieck(winkel,best_radios)#screensize[0]*screensize[1])
|
||||
|
||||
end_pos = start_pos[0]+a,start_pos[1]+b
|
||||
# draw c schwarz
|
||||
|
|
Loading…
Reference in a new issue