From c1b791b5686606168d5c6a7a952ed90ae506b8f2 Mon Sep 17 00:00:00 2001 From: march3 Date: Sat, 8 Apr 2023 19:40:40 +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/solar_system/sun_earth_moon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim_scenes/solar_system/sun_earth_moon.py b/sim_scenes/solar_system/sun_earth_moon.py index c855ee2..a207118 100644 --- a/sim_scenes/solar_system/sun_earth_moon.py +++ b/sim_scenes/solar_system/sun_earth_moon.py @@ -27,9 +27,9 @@ if __name__ == '__main__': # TODO: 月球在摄像机的前方(从 “新月” 开始) moon_pos, moon_vel = [0, 0, 384400], [-(EARTH_INIT_VELOCITY + 1.03), 0, 0] # TODO: 月球在摄像机的右方(从 “下弦月” 开始),将会从右方出现 - # moon_pos, moon_vel = [384400, 0, 0], [-EARTH_INIT_VELOCITY, 0, 1.023] + # moon_pos, moon_vel = [384400, 0, 0], [-EARTH_INIT_VELOCITY, 0, 1.03] # TODO: 月球在摄像机的左方(从 “上弦月” 开始) - # moon_pos, moon_vel = [-384400, 0, 0], [EARTH_INIT_VELOCITY, 0, -1.023] + # moon_pos, moon_vel = [-384400, 0, 0], [EARTH_INIT_VELOCITY, 0, -1.03] moon = Moon(init_position=moon_pos, # 距地距离约: 363104 至 405696 km init_velocity=moon_vel, size_scale=2e1) # 月球放大 20 倍,距离保持不变 -- GitLab