added a fullscreen keyboard system and evaluated if the tracker work accordingly
This commit is contained in:
parent
c73726ddc0
commit
c862972f80
2 changed files with 12 additions and 4 deletions
|
@ -9,6 +9,8 @@ use crate::scene::*;
|
|||
use crate::utils::*;
|
||||
use crate::viewer::*;
|
||||
use crate::tracker::*;
|
||||
use crate::console::*;
|
||||
|
||||
|
||||
use bevy::{prelude::*, window::PresentMode, render::camera::CameraProjectionPlugin};
|
||||
use offaxis::{offaxis_camera_setup, OffAxisProjection};
|
||||
|
@ -21,6 +23,7 @@ mod utils;
|
|||
mod viewer;
|
||||
mod projection;
|
||||
mod tracker;
|
||||
mod console;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
|
@ -53,6 +56,7 @@ fn main() {
|
|||
.add_plugin(CameraProjectionPlugin::<OffAxisProjection>::default())
|
||||
.add_system(simulate_viewer)
|
||||
.add_system(apply_viewer_to_projections)
|
||||
.add_system(toggle_fullscreeen)
|
||||
.run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue