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

@@ -569,7 +569,7 @@ int main(int argc, char** argv)
if (!sandboxed)
{
vive = new Vive;
vive->on_draw = [](const glm::mat4& proj, const glm::mat4& view) { App::I.vr_draw(proj, view); };
vive->on_draw = [](const glm::mat4& proj, const glm::mat4& view, const glm::mat4& pose) { App::I.vr_draw(proj, view, pose); };
async_lock();
if (!vive->Initialize())
{