1
0
Fork 0

Fix include

This commit is contained in:
Florian RICHER 2022-06-22 13:35:29 +02:00
parent 898783ca80
commit 94b59568b1

View file

@ -1,4 +1,6 @@
use cgmath::prelude::*;
#[cfg(not(target_arch="wasm32"))]
use rayon::prelude::*;
use wgpu::{util::DeviceExt, Queue};
use winit::event::{DeviceEvent, ElementState, Event, KeyboardInput, MouseButton, WindowEvent};
@ -122,8 +124,7 @@ impl super::State for DefaultState {
&renderer.device,
&renderer.queue,
global_bind_layout.get_texture_bind_layout(),
))
.unwrap();
)).unwrap();
let light_uniform = LightUniform {
position: [2.0, 2.0, 2.0],