From c4ca8b9a04b91b32ed88a22791107b09f63f5f9c Mon Sep 17 00:00:00 2001 From: nullprop Date: Fri, 10 Nov 2023 20:30:31 +0200 Subject: [PATCH] Tweak light trajectory --- src/core/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/state.rs b/src/core/state.rs index 1623730..65965ce 100644 --- a/src/core/state.rs +++ b/src/core/state.rs @@ -582,7 +582,7 @@ impl State { // Update the light self.light_uniform.position[0] = f32::sin(time.as_secs_f32() * 0.5) * 500.0; - self.light_uniform.position[1] = 300.0 + f32::sin(time.as_secs_f32() * 0.3) * 150.0; + self.light_uniform.position[1] = 250.0 + f32::sin(time.as_secs_f32() * 0.3) * 200.0; self.light_uniform.position[2] = f32::sin(time.as_secs_f32() * 0.8) * 100.0; self.light_uniform.update_matrices();