Add pre-commit-config, run pre-commit on all files

This commit is contained in:
reo 2025-09-23 21:11:09 +03:00
parent 50d07ffea5
commit 59963cdec1
8 changed files with 18 additions and 7 deletions

View file

@ -66,7 +66,7 @@ impl<E: EngineTrait<PlatformCtx = PlatformContext>> Platform<E> for GliumPlatfor
.systems
.values_mut()
.for_each(|system| system.handle_event(&mut self.window, event.clone()));
let mut ctx2 = ctx.clone();
ctx2.current_event = event.clone();
self.engine.handle_event(ctx2);

View file

@ -1,4 +1,4 @@
mod basic;
pub mod debug_ui;
pub use basic::BasicMeshRenderingSystem;
pub use basic::BasicMeshRenderingSystem;