New crate: raidillon_app, refactor game/main.rs to use the new crate

This commit is contained in:
reo 2025-11-16 19:32:56 +03:00
parent 82f3b27732
commit 47c3b2b111
12 changed files with 140 additions and 96 deletions

View file

@ -1,15 +1,9 @@
use raidillon_engine::system::{System, SystemContext};
use glam::{Quat, Vec3};
use winit::event::DeviceEvent::MouseMotion;
use winit::event::{ElementState, Event, MouseButton, WindowEvent};
use winit::keyboard::{KeyCode, PhysicalKey};
use winit::window::CursorGrabMode;
use raidillon_assets::model_path;
use raidillon_platform::{Camera, PlatformContext};
use raidillon_engine::InputState;
use raidillon_engine::EngineResources;
use raidillon_core::scene::Scene;
use raidillon_ecs::components::CameraMode;
use raidillon_app::prelude::*;
pub struct FPSDebugCameraSystem {
mouse_delta: (f64, f64),