Added rendering pipeline and window

This commit is contained in:
STP
2023-11-11 11:34:08 -05:00
parent 943f54a4b8
commit 6ff33649b1
5 changed files with 738 additions and 554 deletions

View File

@@ -3,18 +3,14 @@
//Use our ray module
mod ray;
use ray::Ray;
//Use our window
mod window;
use window::run;
//Use linear algebra module
use nalgebra::Vector4;
//Use modules for wgpu
use std::borrow::Cow;
use winit::{
event::{Event, WindowEvent},
event_loop::EventLoop,
window::Window,
};
//MAIN ---------------------------------------------------------------------------------
fn main() {
println!("Hello world");
pollster::block_on(run());
}
//NEXT ---------------------------------------------------------------------------------