hmd orient, vr ui

This commit is contained in:
2018-10-28 22:25:15 +01:00
parent 0fff9f2010
commit b366d6b61f
11 changed files with 145 additions and 16 deletions

View File

@@ -80,6 +80,9 @@ public:
bool keys[256];
bool redraw = true;
bool animate = false;
glm::mat4 vr_rot{ 0 };
glm::mat4 vr_uirot{ 0 };
glm::vec2 cursor{ 0, 0 };
glm::vec2 gesture_p0;
glm::vec2 gesture_p1;
#ifdef __ANDROID__