parent
3d87381f55
commit
08f090b6fe
30 changed files with 528 additions and 1088 deletions
|
@ -1,13 +1,3 @@
|
|||
pub mod renderer;
|
||||
pub mod repl;
|
||||
|
||||
use anyhow::Result;
|
||||
use renderer::App;
|
||||
use winit::event_loop::{ControlFlow, EventLoop};
|
||||
|
||||
pub fn init_renderer() -> Result<()> {
|
||||
let event_loop = EventLoop::new()?;
|
||||
event_loop.set_control_flow(ControlFlow::Poll);
|
||||
let mut app = App::default();
|
||||
Ok(event_loop.run_app(&mut app)?)
|
||||
}
|
||||
pub mod logger;
|
||||
pub mod splash;
|
Loading…
Add table
Add a link
Reference in a new issue