From 4339abea346f4b0c4606aa4dfe340b95843fc144 Mon Sep 17 00:00:00 2001 From: march3 Date: Wed, 3 May 2023 11:37:00 +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/earth/earth.py | 2 +- sim_scenes/earth/earth_clouds.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sim_scenes/earth/earth.py b/sim_scenes/earth/earth.py index 44a2dbf..f01892c 100644 --- a/sim_scenes/earth/earth.py +++ b/sim_scenes/earth/earth.py @@ -17,7 +17,7 @@ if __name__ == '__main__': bodies = [ Earth(texture="earth_hd.jpg", init_position=[0, 0, 0], init_velocity=[0, 0, 0], - size_scale=1).set_resolution(100) + size_scale=1) ] # 使用 ursina 查看的运行效果 # 常用快捷键: P:运行和暂停 O:重新开始 I:显示天体轨迹 diff --git a/sim_scenes/earth/earth_clouds.py b/sim_scenes/earth/earth_clouds.py index f27f6c5..41302fb 100644 --- a/sim_scenes/earth/earth_clouds.py +++ b/sim_scenes/earth/earth_clouds.py @@ -17,7 +17,7 @@ if __name__ == '__main__': """ earth = Earth(texture="earth_hd.jpg", init_position=[0, 0, 0], init_velocity=[0, 0, 0], - size_scale=1).set_ignore_gravity() + size_scale=1).set_ignore_gravity() # 忽略引力 # 创建带有云层的地球 earth_with_clouds = Earth(texture="earth_hd.jpg", -- GitLab