feat: /hmd

This commit is contained in:
Nova
2022-09-05 01:22:19 -04:00
parent d23d974e34
commit 2ea2ec0b07
5 changed files with 42 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ mod nodes;
mod wayland;
use crate::core::destroy_queue;
use crate::nodes::hmd;
use crate::nodes::model::{MODELS_TO_DROP, MODEL_REGISTRY};
use crate::wayland::Wayland;
@@ -63,6 +64,7 @@ fn main() -> Result<()> {
println!("Stardust ready!");
stereokit.run(
|draw_ctx| {
hmd::frame(&stereokit);
wayland.frame(&stereokit);
destroy_queue::clear();