mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 06:48:43 -06:00
uwu
This commit is contained in:
parent
c4bd69e109
commit
242a733cf7
|
@ -21,10 +21,12 @@ pub fn run() {
|
||||||
let display = init_display(&event_loop);
|
let display = init_display(&event_loop);
|
||||||
log::info!("compiling shaders");
|
log::info!("compiling shaders");
|
||||||
let programs = Programs::compile_all(&display);
|
let programs = Programs::compile_all(&display);
|
||||||
log::info!("init camera");
|
|
||||||
let camera = Camera::default();
|
|
||||||
log::info!("loading assets");
|
log::info!("loading assets");
|
||||||
let assets = Assets::load_all_sync(&display);
|
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");
|
log::info!("game loaded");
|
||||||
|
|
||||||
//=======================
|
//=======================
|
||||||
|
|
Loading…
Reference in a new issue