Move PlatformContext to the raidillon_platform crate

This commit is contained in:
reo 2025-09-22 19:45:30 +03:00
parent 9905ffd26b
commit 369bbd19c7
8 changed files with 15 additions and 16 deletions

10
platform/src/context.rs Normal file
View file

@ -0,0 +1,10 @@
use winit::event::Event;
use raidillon_assets::ModelManagerRef;
#[derive(Clone)]
pub struct PlatformContext {
pub current_event: Event<()>,
pub asset_manager: ModelManagerRef,
pub frame_width: f32,
pub frame_height: f32,
}