updated implementation for VRPN based tracking into a thread, next we should not implement this through a component but through a resource
This commit is contained in:
parent
09abd228f7
commit
d98c0a87fa
2 changed files with 51 additions and 6 deletions
|
@ -34,7 +34,7 @@ fn main() {
|
|||
width: 1280.0,
|
||||
height: 720.0,
|
||||
present_mode: PresentMode::AutoVsync,
|
||||
mode: WindowMode::BorderlessFullscreen,
|
||||
// mode: WindowMode::BorderlessFullscreen,
|
||||
..default()
|
||||
},
|
||||
..default()
|
||||
|
@ -53,6 +53,7 @@ fn main() {
|
|||
.add_startup_system(offaxis_camera_setup)
|
||||
// .add_startup_system(setup_tracker)
|
||||
// .add_system(update_tracker)
|
||||
.add_startup_system(setup_threaded_tracker)
|
||||
|
||||
.add_plugin(CameraProjectionPlugin::<OffAxisProjection>::default())
|
||||
.add_system(simulate_viewer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue