remove unnedded macro crate and make bevy_xr_utils compile for wasm

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-07-04 20:38:25 +02:00
parent b6f69eecd9
commit 770ce00e32
6 changed files with 5 additions and 151 deletions

View File

@@ -8,5 +8,7 @@ edition = "2021"
[dependencies]
bevy.workspace = true
bevy_mod_xr.path = "../bevy_xr"
openxr = "0.18.0"
bevy_mod_openxr.path = "../bevy_openxr"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
openxr = "0.18.0"

View File

@@ -1,4 +1,6 @@
// use bevy::prelude::*;
pub mod hand_gizmos;
#[cfg(not(target_family = "wasm"))]
pub mod xr_utils_actions;
#[cfg(not(target_family = "wasm"))]
pub mod transform_utils;