fix(offset): forgot to save the file before commiting
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -17,9 +17,9 @@ use bevy_mod_xr::{session::XrSessionCreated, spaces::XrPrimaryReferenceSpace};
|
|||||||
use glam::{Quat, Vec3};
|
use glam::{Quat, Vec3};
|
||||||
use openxr::ReferenceSpaceType;
|
use openxr::ReferenceSpaceType;
|
||||||
|
|
||||||
pub struct TrackingRootOffsetPlugin;
|
pub struct TrackingOffsetPlugin;
|
||||||
|
|
||||||
impl Plugin for TrackingRootOffsetPlugin {
|
impl Plugin for TrackingOffsetPlugin {
|
||||||
fn build(&self, app: &mut bevy::app::App) {
|
fn build(&self, app: &mut bevy::app::App) {
|
||||||
app.add_oxr_event_handler(reset_offset);
|
app.add_oxr_event_handler(reset_offset);
|
||||||
app.add_systems(XrSessionCreated, |mut cmds: Commands| {
|
app.add_systems(XrSessionCreated, |mut cmds: Commands| {
|
||||||
|
|||||||
Reference in New Issue
Block a user