awa
This commit is contained in:
parent
8090dd2fcf
commit
96cf2ba3f1
@ -15,6 +15,15 @@ def P_C_M(A, B): # stand for Physics Calculation multiple
|
|||||||
C = [0.0, 1, [], []]
|
C = [0.0, 1, [], []]
|
||||||
Float = A[0] * B[0]
|
Float = A[0] * B[0]
|
||||||
Int = A[1] + B[1]
|
Int = A[1] + B[1]
|
||||||
|
if Float >= 10:
|
||||||
|
Float /= 10
|
||||||
|
Int += 1
|
||||||
|
elif Float <= 0.01:
|
||||||
|
Float *= 10
|
||||||
|
Int -= 1
|
||||||
|
else:
|
||||||
|
Float = float(Float)
|
||||||
|
Int = int(Int)
|
||||||
Unit1 = A[2].extend(B[2])
|
Unit1 = A[2].extend(B[2])
|
||||||
Unit2 = []
|
Unit2 = []
|
||||||
for unit in B[3]:
|
for unit in B[3]:
|
||||||
|
@ -26,4 +26,4 @@ class Orbit_demo(threading.Thread):
|
|||||||
print("ha ?")
|
print("ha ?")
|
||||||
|
|
||||||
def orbit_math(self):
|
def orbit_math(self):
|
||||||
mass = self.ship_info["mass"]
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user