added winit
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user