-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from Schmarni-Dev/hand_refactor
Hand refactor
- Loading branch information
Showing
20 changed files
with
1,942 additions
and
1,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/target | ||
/Cargo.lock | ||
**/target | ||
**/Cargo.lock | ||
**/runtime_libs/arm64-v8a/* | ||
\.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[package] | ||
name = "demo" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
|
||
[lib] | ||
crate-type = ["cdylib", "lib"] | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
bevy = { git = "https://github.com/bevyengine/bevy.git" } | ||
# bevy = "0.11.3" | ||
# default-features is false because it for some reason complains when trying to statically link openxr | ||
bevy_oxr = { path = "../../" } | ||
# bevy_openxr = { git = "https://github.com/Schmarni-Dev/bevy_openxr", default-features = false, branch = "demo"} | ||
bevy_rapier3d = { git = "https://github.com/devil-ira/bevy_rapier", version = "0.22.0", branch = "bevy-0.12" } | ||
# bevy_rapier3d = { git = "https://github.com/Schmarni-Dev/bevy_rapier" } | ||
color-eyre = "0.6.2" | ||
|
||
[profile.release] | ||
lto = "fat" | ||
codegen-units = 1 | ||
panic = "abort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## setup | ||
install xbuild ```cargo install --git https://github.com/rust-mobile/xbuild``` | ||
run ```x doctor``` and install all required depencencies | ||
download the [openxr loader](https://developer.oculus.com/downloads/package/oculus-openxr-mobile-sdk/) and put it in the runtime_libs/arm64-v8a folder | ||
|
||
## how to run | ||
run ```x devices``` | ||
|
||
and get the device name that looks something like this ```adb:1WD523S``` (probably a bit longer) | ||
|
||
then ```run x run --release``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.