cleaned up code and created webxr crate

This commit is contained in:
awtterpip
2024-04-18 17:06:56 -05:00
parent d98b9a4455
commit f585c9e2dc
17 changed files with 531 additions and 634 deletions

View File

@@ -0,0 +1,14 @@
[package]
name = "bevy_webxr"
version = "0.1.0"
edition = "2021"
# all dependencies are placed under this since on anything but wasm, this crate is completely empty
[target.'cfg(target_family = "wasm")'.dependencies]
thiserror = "1.0.57"
wgpu = "0.19.3"
wgpu-hal = "0.19.3"
bevy_xr.path = "../bevy_xr"
bevy.workspace = true

View File

@@ -0,0 +1,5 @@
#[cfg(target_family = "wasm")]
mod webxr;
#[cfg(target_family = "wasm")]
pub use webxr::*;

View File