Added rendering pipeline and window
This commit is contained in:
12
src/main.rs
12
src/main.rs
@@ -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 ---------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user