From 74359545aa1308d253927e5836466aff54d8f7f4 Mon Sep 17 00:00:00 2001 From: march3 Date: Sat, 8 Apr 2023 13:12:41 +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/speed_of_light.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sim_scenes/solar_system/speed_of_light.py b/sim_scenes/solar_system/speed_of_light.py index a93e3c7..cee47b6 100644 --- a/sim_scenes/solar_system/speed_of_light.py +++ b/sim_scenes/solar_system/speed_of_light.py @@ -10,9 +10,10 @@ from sim_scenes.func import ursina_run, create_solar_system_bodies, create_light from common.consts import LIGHT_SPEED from sim_scenes.solar_system.speed_of_light_init import SpeedOfLightInit +# TODO: 三种不同的摄像机视角 camera_follow_light = None # 摄像机固定,不会跟随光 camera_follow_light = 'ForwardView' # 摄像机跟随光,方向是向前看 -# camera_follow_light = 'SideView' # 摄像机跟随光,方向是侧面看 +camera_follow_light = 'SideView' # 摄像机跟随光,方向是侧面看 # 实例化一个初始化对象(订阅事件,记录到达每个行星所需要的时间) init = SpeedOfLightInit(camera_follow_light) -- GitLab