From f534af4f55fcd7eb2b4c053cb33a5f389c3212f8 Mon Sep 17 00:00:00 2001 From: march3 Date: Sun, 10 Dec 2023 12:56:54 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim_scenes/fiction/transformed_mars_ani_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_scenes/fiction/transformed_mars_ani_3d.py b/sim_scenes/fiction/transformed_mars_ani_3d.py index 5f9c324..e26667d 100644 --- a/sim_scenes/fiction/transformed_mars_ani_3d.py +++ b/sim_scenes/fiction/transformed_mars_ani_3d.py @@ -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.position += Vec3(0, 0, 0.00000005 * space_station.dt_scale) 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) if d < mars.radius * 1.01: -- GitLab