From 65265c6b026549d59bd1cd3d439463fa75972210 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Fri, 29 Dec 2023 19:07:26 +0100 Subject: [PATCH] Removed strange code. --- physics/parabelfunc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/physics/parabelfunc.py b/physics/parabelfunc.py index 9c5aa4c..812dc35 100755 --- a/physics/parabelfunc.py +++ b/physics/parabelfunc.py @@ -17,10 +17,6 @@ def berechneflugbahn(cow, xmin, xmax, ymin, ymax, startwinkel, startgeschwindigk jupiter = 24 gravitation = erde startwinkel = startwinkel * deg2rad - if cow.isascii(): - cowlength = 1 - else: - cowlength = 1 # Calculate time of flight, actually not used flugdauer = startgeschwindigkeit * sin(startwinkel) / gravitation