creating startup environment

This commit is contained in:
STP
2023-11-10 23:33:33 -05:00
parent 643d53dd87
commit 246bc697ba
3 changed files with 3 additions and 2197 deletions

View File

@@ -1,14 +1,6 @@
use winit::{
event::*,
event_loop::{ControlFlow, EventLoop},
window::WindowBuilder,
};
pub mod vec4;
fn main() {
env_logger::init(); // Necessary for logging within WGPU
let event_loop = EventLoop::new(); // Loop provided by winit for handling window events
let window = WindowBuilder::new().build(&event_loop).unwrap();
// Opens the window and starts processing events (although no events are handled yet)
event_loop.run(move |event, _, control_flow| {});
println!("Hello world");
}