This commit is contained in:
reo 2025-08-30 12:55:42 +03:00
parent cc7921a5fe
commit 3692736a61
22 changed files with 447 additions and 44 deletions

View file

@ -1,7 +0,0 @@
use winit::event::Event;
use raidillon_assets::{ModelManagerRef, ModelManager};
pub struct PlatformContext {
pub current_event: Event<()>,
pub asset_manager: ModelManagerRef,
}

View file

@ -3,3 +3,4 @@ mod camera;
pub use platform::Platform;
pub use camera::Camera;
pub use raidillon_core::context::PlatformContext;

View file

@ -1,5 +1,6 @@
use raidillon_assets::ModelManager;
use raidillon_core::Engine;
use crate::PlatformContext;
pub trait Platform {
/// Initialize platform.