add vr_draw_ui method and make ui observer as method to be wildly available

This commit is contained in:
2019-05-29 22:41:37 +02:00
parent 9d6bb0187e
commit d750f80482
4 changed files with 66 additions and 44 deletions

View File

@@ -137,9 +137,11 @@ public:
void clear();
void tick(float dt);
void update(float dt);
bool update_ui_observer(Node* n);
bool vr_start();
void vr_stop();
void vr_draw(const glm::mat4& proj, const glm::mat4& view, const glm::mat4& pose);
void vr_draw_ui();
void async_start();
void async_update();
void async_redraw();