feat: camera item

This commit is contained in:
Nova
2023-08-06 10:11:06 -04:00
parent 281f5e91ff
commit 11ecb0aebe
3 changed files with 189 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ mod objects;
mod wayland;
use crate::core::destroy_queue;
use crate::nodes::items::camera;
use crate::nodes::{audio, drawable, hmd, input};
use crate::objects::input::eye_pointer::EyePointer;
use crate::objects::input::mouse_pointer::MousePointer;
@@ -238,6 +239,7 @@ fn main() {
let _span = _span.enter();
hmd::frame(sk);
camera::update(sk);
#[cfg(feature = "wayland")]
wayland.frame_event(sk);
destroy_queue::clear();