提交 f534af4f 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 648831d6
...@@ -145,7 +145,7 @@ def transformed_mars_ani(transformed_texture=None, texture=None, camera3d=False, ...@@ -145,7 +145,7 @@ def transformed_mars_ani(transformed_texture=None, texture=None, camera3d=False,
space_station.planet.rotation_z += 0.005 * space_station.dt_scale space_station.planet.rotation_z += 0.005 * space_station.dt_scale
space_station.planet.position += Vec3(0, 0, 0.00000005 * space_station.dt_scale) space_station.planet.position += Vec3(0, 0, 0.00000005 * space_station.dt_scale)
d = distance(space_station.planet, mars.planet) / UrsinaConfig.SCALE_FACTOR d = distance(space_station.planet, mars.planet) / UrsinaConfig.SCALE_FACTOR
if d < mars.radius * 2: if d < mars.radius * 3:
space_station.planet.scale *= pow(0.999, 72 / space_station.dt_scale) space_station.planet.scale *= pow(0.999, 72 / space_station.dt_scale)
if d < mars.radius * 1.01: if d < mars.radius * 1.01:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册