Slow down automatic rotation

This commit is contained in:
Matthew Gordon 2025-05-30 16:57:44 -03:00
parent 953a152c97
commit 6bac62f587
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ impl DemRenderer {
let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor {
label: Some("DemRendererCommandEncoder"),
});
let radians_per_second = 0.5;
let radians_per_second = 0.25;
self.animation_phase += frame_timer.get_frame_time_seconds() as f32 * radians_per_second;
self.animation_phase = self.animation_phase % (2.0 * std::f32::consts::PI);
let camera_position =