Improved some details.

This commit is contained in:
The Wobbler 2023-12-29 19:01:37 +01:00
parent b8369e0bf8
commit a11fe04cb1

View file

@ -43,8 +43,12 @@ def berechneflugbahn(cow, xmin, xmax, ymin, ymax, startwinkel, startgeschwindigk
if y <= ymax and y >= ymin: if y <= ymax and y >= ymin:
# Stash away the coordinates into scala, which will be returned # Stash away the coordinates into scala, which will be returned
scala += [x, int((y * 100 + 50) / 100)] scala += [x, int((y * 100 + 50) / 100)]
elif y <= ymin:
scala += [x, ymin]
else: else:
scala += [0, 0] scala += [x, ymax]
xold = x xold = x