added winit

This commit is contained in:
2023-11-11 00:32:03 -05:00
parent a19448e92b
commit 24c7e719b0
+6 -1
View File
@@ -1,8 +1,13 @@
#![allow(dead_code)] #![allow(dead_code)]
mod ray; mod ray;
use nalgebra::{Matrix4, Vector4}; use nalgebra::{Matrix4, Vector4};
use ray::Ray; use ray::Ray;
use std::borrow::Cow;
use winit::{
event::{Event, WindowEvent},
event_loop::EventLoop,
window::Window,
};
fn main() { fn main() {
let x = Vector4::new(1.0, 1.0, 1.0, 1.0); let x = Vector4::new(1.0, 1.0, 1.0, 1.0);