MAJOR rendering overhaul. Snow deformation, persistent light, flowmap out. Also ECS architexture overhaul

This commit is contained in:
Jonas H
2026-03-03 19:30:41 +01:00
parent f615810509
commit 08ddaa2c5d
56 changed files with 2737 additions and 3463 deletions

View File

@@ -5,14 +5,11 @@ use crate::world::World;
pub fn player_input_system(world: &mut World, input_state: &InputState)
{
let active_camera = world.cameras.get_active();
if active_camera.is_none()
let Some((_, camera)) = world.active_camera()
else
{
return;
}
let (_, camera) = active_camera.unwrap();
};
let forward = camera.get_forward_horizontal();
let right = camera.get_right_horizontal();