screens & basic interactions

This commit is contained in:
galister
2023-12-07 02:07:13 +01:00
parent cb039de409
commit a3b60b9607
19 changed files with 518 additions and 1599 deletions

View File

@@ -59,6 +59,7 @@ pub(super) struct OpenVrInputState {
}
pub(super) struct OpenVrHandState {
pub(super) line_id: usize,
has_pose: bool,
input_hnd: InputValueHandle,
pose_hnd: ActionHandle,
@@ -103,6 +104,7 @@ impl InputState<OpenVrInputState, OpenVrHandState> {
pose: Affine3A::IDENTITY,
interaction: InteractionState::default(),
data: OpenVrHandState {
line_id: 0,
has_pose: false,
input_hnd: input_hnd[i],
pose_hnd: pose_hnd[i],