From 836d4ba9274db5e4a4fea5289cc31755347966c7 Mon Sep 17 00:00:00 2001 From: march3 Date: Sat, 22 Apr 2023 17:02:07 +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_lab/earth_moon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_lab/earth_moon.py b/sim_lab/earth_moon.py index de50f6e..1ccbb6d 100644 --- a/sim_lab/earth_moon.py +++ b/sim_lab/earth_moon.py @@ -53,7 +53,7 @@ if __name__ == '__main__': sun.look_at(moon.planet.position) sun.rotation_x = 0 Entity.sun = sun - sun._light.show_frustum() + # sun._light.show_frustum() # 创建太阳光 shadows_shader = create_directional_light(position=(200, 0, -300), target=earth, shadows=True) earth.planet.shadows = shadows_shader -- GitLab