Skip to content

Commit

Permalink
Merge pull request awtterpip#12 from raffaeleragni/main
Browse files Browse the repository at this point in the history
use upstream bevy main + cargo fix
  • Loading branch information
awtterpip authored Sep 26, 2023
2 parents 65fbffa + 3a68b64 commit a360473
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ linked = ["openxr/linked", "openxr/static"]
[dependencies]
anyhow = "1.0.75"
ash = "0.37.3"
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
bevy = { git = "https://github.com/bevyengine/bevy.git" }
openxr = { version = "0.17.1", features = ["mint"] }
mint = "0.5.9"
wgpu = "0.16.0"
wgpu-core = { version = "0.16.0", features = ["vulkan"] }
wgpu-hal = "0.16.0"

[dev-dependencies]
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
bevy = { git = "https://github.com/bevyengine/bevy.git" }
color-eyre = "0.6.2"

[[example]]
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use bevy::prelude::*;
use bevy::render::camera::{ManualTextureView, ManualTextureViewHandle, ManualTextureViews};
use bevy::render::pipelined_rendering::PipelinedRenderingPlugin;
use bevy::render::renderer::{render_system, RenderInstance};
use bevy::render::settings::RenderSettings;
use bevy::render::settings::RenderCreation;
use bevy::render::{Render, RenderApp, RenderPlugin, RenderSet};
use bevy::window::{PresentMode, PrimaryWindow, RawHandleWrapper};
use input::XrInput;
Expand Down Expand Up @@ -97,7 +97,7 @@ impl Plugin for OpenXrPlugin {
));
app.insert_resource(ActionSets(vec![]));
app.add_plugins(RenderPlugin {
render_settings: RenderSettings::Manual(
render_creation: RenderCreation::Manual(
device,
queue,
adapter_info,
Expand Down
2 changes: 1 addition & 1 deletion src/xr_input/debug_gizmos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn draw_hand_gizmo(
let face_quat = controller_quat.mul_quat(face_quat_offset);
let face_quat_normal = face_quat.mul_vec3(Vec3::Z);

let squeeze = controller.squeeze(Hand::Right);
let _squeeze = controller.squeeze(Hand::Right);
//info!("{:?}", squeeze);
//grip
gizmos.rect(
Expand Down
2 changes: 1 addition & 1 deletion src/xr_input/trackers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct OpenXRRightController;
pub struct OpenXRController;

pub fn adopt_open_xr_trackers(
query: Query<(Entity), Added<OpenXRTracker>>,
query: Query<Entity, Added<OpenXRTracker>>,
mut commands: Commands,
tracking_root_query: Query<(Entity, With<OpenXRTrackingRoot>)>,
) {
Expand Down

0 comments on commit a360473

Please # to comment.