This commit is contained in:
griffi-gh 2023-01-15 16:21:34 +01:00
parent c4bd69e109
commit 242a733cf7

View file

@ -21,10 +21,12 @@ pub fn run() {
let display = init_display(&event_loop);
log::info!("compiling shaders");
let programs = Programs::compile_all(&display);
log::info!("init camera");
let camera = Camera::default();
log::info!("loading assets");
let assets = Assets::load_all_sync(&display);
log::info!("init camera");
let mut camera = Camera::default();
camera.position = [0., 0., -1.];
camera.direction = [0., 0., 1.];
log::info!("game loaded");
//=======================