fix stroke preview, use hmd pose instead of eye, fix vr fullscreen mode

This commit is contained in:
2018-10-28 23:31:22 +01:00
parent b366d6b61f
commit a64e2fa8fb
8 changed files with 30 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ struct Vive
std::string dev_model{ "Vive" };
std::string dev_tracksys{ "lighthouse" };
std::string dev_manufacturer{ "HTC" };
std::function<void(const glm::mat4& proj, const glm::mat4& view)> on_draw = nullptr;
std::function<void(const glm::mat4& proj, const glm::mat4& view, const glm::mat4& pose)> on_draw = nullptr;
std::function<void(const Controller&, Controller::Button, Controller::Action)> on_button = nullptr;
Vive();