1
0
This commit is contained in:
Alex_Hubert
2021-11-05 21:51:45 +01:00
parent b1347a9f0d
commit b1c5b1c518

View File

@@ -157,5 +157,8 @@ class System:
self.update_jp()
self.update(dt)
self.time = self.time + dt
for body in self.bodylist:
body.p = body.v*body.m
return 1
return 1