Compare commits
No commits in common. "6bac62f587551a8b7c3b25b5310febf2e28ac51c" and "c5930e55f956c45c5efea18110b55f400618decb" have entirely different histories.
6bac62f587
...
c5930e55f9
|
|
@ -315,7 +315,7 @@ impl DemRenderer {
|
|||
let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor {
|
||||
label: Some("DemRendererCommandEncoder"),
|
||||
});
|
||||
let radians_per_second = 0.25;
|
||||
let radians_per_second = 0.5;
|
||||
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 =
|
||||
|
|
|
|||
|
|
@ -59,13 +59,13 @@ impl MvuApp<Model> for App {
|
|||
})
|
||||
.await
|
||||
.expect("Failed to find an appropriate adapter");
|
||||
info!("Using {} backend with {}", adapter.get_info().backend, adapter.get_info().name);
|
||||
eprintln!("Using {}", adapter.get_info().name);
|
||||
|
||||
let (device, queue) = adapter
|
||||
.request_device(&wgpu::DeviceDescriptor {
|
||||
label: None,
|
||||
required_features: wgpu::Features::empty(),
|
||||
required_limits: wgpu::Limits::default()
|
||||
required_limits: wgpu::Limits::downlevel_webgl2_defaults()
|
||||
.using_resolution(adapter.limits()),
|
||||
memory_hints: wgpu::MemoryHints::MemoryUsage,
|
||||
trace: Trace::Off,
|
||||
|
|
|
|||
Loading…
Reference in New Issue