lite cleaning

This commit is contained in:
Jay Christy
2023-09-24 15:33:40 -04:00
parent 012a778c35
commit 6d5c1fa00f
4 changed files with 5 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ use crate::{
use crate::xr_input::{
oculus_touch::{OculusController, OculusControllerRef},
Hand, QuatConv, Vec3Conv,
Hand,
};
use super::trackers::{OpenXRLeftController, OpenXRRightController, OpenXRTrackingRoot};

View File

@@ -12,13 +12,11 @@ use crate::xr_input::oculus_touch::{setup_oculus_controller, ActionSets};
use crate::xr_input::xr_camera::{xr_camera_head_sync, Eye, XRProjection, XrCameraBundle};
use bevy::app::{App, PostUpdate, Startup};
use bevy::log::warn;
use bevy::prelude::{
default, Commands, Component, Plugin, PreUpdate, Quat, Res, SpatialBundle, Update, Vec3,
};
use bevy::prelude::{BuildChildren, IntoSystemConfigs};
use bevy::prelude::{Commands, Plugin, PreUpdate, Quat, Res, SpatialBundle, Update, Vec3};
use bevy::render::camera::CameraProjectionPlugin;
use bevy::render::view::{update_frusta, VisibilitySystems};
use bevy::transform::{TransformBundle, TransformSystem};
use bevy::transform::TransformSystem;
use self::trackers::{
adopt_open_xr_trackers, update_open_xr_controllers, OpenXRLeftEye, OpenXRRightEye,

View File

@@ -1,4 +1,4 @@
use bevy::prelude::{info, Added, BuildChildren, Commands, Component, Entity, Query, With, Res, Transform, Without};
use bevy::prelude::{Added, BuildChildren, Commands, Entity, Query, With, Res, Transform, Without, Component, info};
use crate::{resources::{XrFrameState, XrInstance, XrSession}, input::XrInput};