mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 21:28:20 -06:00
reorder
This commit is contained in:
parent
205f67a2e8
commit
63b0fad27b
|
@ -128,14 +128,15 @@ fn after_frame_end() -> Workload {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
//Init env_logger
|
||||
logging::init();
|
||||
|
||||
//Create event loop
|
||||
let event_loop = EventLoop::new();
|
||||
|
||||
//Create a shipyard world
|
||||
let mut world = World::new();
|
||||
|
||||
//Create event loop
|
||||
let event_loop = EventLoop::new();
|
||||
|
||||
//Add systems and uniques, Init and load things
|
||||
world.add_unique_non_send_sync(Renderer::init(&event_loop));
|
||||
world.add_unique(BackgroundColor(vec3(0.5, 0.5, 1.)));
|
||||
|
|
Loading…
Reference in a new issue