wgpu now working

This commit is contained in:
STP
2023-11-15 19:50:13 -05:00
parent 4762edbe03
commit 362c5160f4
8 changed files with 451 additions and 1405 deletions

View File

@@ -2,16 +2,17 @@
#![allow(unused_imports)]
#![allow(unused_variables)]
//Use linear algebra module
use window::run;
use eventloop::run;
//Cameras
mod camera;
mod eventloop;
mod light;
mod primitive;
mod ray;
mod raytracer;
mod scene;
mod window;
mod state;
// mod state;
// mod texture;
// mod vertex;
@@ -20,5 +21,5 @@ const EPSILON: f32 = 1e-7;
const INFINITY: f32 = 1e7;
fn main() {
run().expect("YEY");
pollster::block_on(run());
}