Tweak light trajectory
This commit is contained in:
parent
496eabcb27
commit
c4ca8b9a04
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue