made the XrInput struct fields public

This commit is contained in:
MalekiRe
2023-09-07 19:15:05 -07:00
parent 6ca36b3bfb
commit 96ab84e972

View File

@@ -7,11 +7,11 @@ type XrPose = (Vec3, Quat);
#[derive(Clone, Resource)] #[derive(Clone, Resource)]
pub struct XrInput { pub struct XrInput {
action_set: xr::ActionSet, pub action_set: xr::ActionSet,
right_action: xr::Action<xr::Posef>, pub right_action: xr::Action<xr::Posef>,
left_action: xr::Action<xr::Posef>, pub left_action: xr::Action<xr::Posef>,
right_space: Arc<xr::Space>, pub right_space: Arc<xr::Space>,
left_space: Arc<xr::Space>, pub left_space: Arc<xr::Space>,
pub stage: Arc<xr::Space>, pub stage: Arc<xr::Space>,
} }