Recenter GUI with A or X

This commit is contained in:
Patrick Nicolas
2024-04-12 16:13:31 +02:00
parent 5b6961e700
commit 9722ce9831
2 changed files with 20 additions and 4 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ class lobby : public scene_impl<lobby>
XrCompositionLayerQuad draw_gui(XrTime predicted_display_time);
bool move_gui_first_time = true;
XrAction recenter_action = nullptr;
bool recenter_gui = true;
void move_gui(glm::vec3 position, glm::quat orientation, XrTime predicted_display_time);
enum class tab