🚀 Init public commit

This commit is contained in:
Markus Scully 2025-07-27 00:42:40 +03:00
commit 62fbf6d17c
Signed by: mascully
GPG key ID: 93CA5814B698101C
42 changed files with 7433 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[package]
name = "grid-shader"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
env_logger = "0.11.6"
log = "0.4.25"
wgpu = "26.0.1"
winit = "0.30.11"

View file

@ -0,0 +1,32 @@
// use winit::{
// event::*,
// event_loop::EventLoop,
// keyboard::{KeyCode, PhysicalKey},
// };
// TODO
pub fn run() {
// env_logger::init();
// let event_loop = EventLoop::new().unwrap();
// let window = WindowBuilder::new().build(&event_loop).unwrap();
// let _ = event_loop.run(move |event, control_flow| match event {
// Event::WindowEvent {
// ref event,
// window_id,
// } if window_id == window.id() => match event {
// WindowEvent::CloseRequested
// | WindowEvent::KeyboardInput {
// event:
// KeyEvent {
// state: ElementState::Pressed,
// physical_key: PhysicalKey::Code(KeyCode::Escape),
// ..
// },
// ..
// } => control_flow.exit(),
// _ => {}
// },
// _ => {}
// });
}