WIP prefabs loader

This commit is contained in:
2025-07-20 13:58:37 -04:00
parent e3191e6827
commit babb74b2f7
37 changed files with 7099 additions and 407 deletions

View File

@@ -0,0 +1,9 @@
use bevy::{input::mouse::MouseMotion, prelude::*};
pub fn get_mouse_delta(mut mouse_motion: EventReader<MouseMotion>) -> Vec2 {
let mut delta = Vec2::ZERO;
for e in mouse_motion.read() {
delta += e.delta;
}
return delta;
}