wip
This commit is contained in:
parent
cc7921a5fe
commit
3692736a61
22 changed files with 447 additions and 44 deletions
|
|
@ -1,7 +0,0 @@
|
|||
use winit::event::Event;
|
||||
use raidillon_assets::{ModelManagerRef, ModelManager};
|
||||
|
||||
pub struct PlatformContext {
|
||||
pub current_event: Event<()>,
|
||||
pub asset_manager: ModelManagerRef,
|
||||
}
|
||||
|
|
@ -3,3 +3,4 @@ mod camera;
|
|||
|
||||
pub use platform::Platform;
|
||||
pub use camera::Camera;
|
||||
pub use raidillon_core::context::PlatformContext;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
use raidillon_assets::ModelManager;
|
||||
use raidillon_core::Engine;
|
||||
use crate::PlatformContext;
|
||||
|
||||
pub trait Platform {
|
||||
/// Initialize platform.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue