changed things to bevy_oxr instead of bevy_openxr and made the android example part of the workspace

This commit is contained in:
MalekiRe
2023-11-06 15:55:36 -08:00
parent 0e6ae62033
commit 52ffa2fdc8
4 changed files with 18 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ target_sdk_version = 32
# label = "Bevy Example"
[dependencies]
bevy_openxr = { path = "../..", default-features = false }
bevy_oxr = { path = "../..", default-features = false }
bevy = "0.12"
openxr = { git = "https://github.com/Ralith/openxrs", features = ["mint"] }

View File

@@ -1,12 +1,12 @@
use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin};
use bevy::prelude::*;
use bevy::transform::components::Transform;
use bevy_openxr::xr_input::debug_gizmos::OpenXrDebugRenderer;
use bevy_openxr::xr_input::prototype_locomotion::{proto_locomotion, PrototypeLocomotionConfig};
use bevy_openxr::xr_input::trackers::{
use bevy_oxr::xr_input::debug_gizmos::OpenXrDebugRenderer;
use bevy_oxr::xr_input::prototype_locomotion::{proto_locomotion, PrototypeLocomotionConfig};
use bevy_oxr::xr_input::trackers::{
OpenXRController, OpenXRLeftController, OpenXRRightController, OpenXRTracker,
};
use bevy_openxr::DefaultXrPlugins;
use bevy_oxr::DefaultXrPlugins;
#[bevy_main]
fn main() {