OculusVR: updated to SDK 1.3

This commit is contained in:
Krzysztof Kondrak
2016-04-02 11:41:40 +02:00
parent ea613785e4
commit bea6e81d12
15 changed files with 534 additions and 486 deletions

View File

@@ -174,11 +174,7 @@ class ExampleLod : public entry::AppI
{
float view[16];
bx::mtxQuatTranslationHMD(view, hmd->eye[0].rotation, eye);
float proj[16];
bx::mtxProj(proj, hmd->eye[0].fov, 0.1f, 100.0f);
bgfx::setViewTransform(0, view, proj);
bgfx::setViewTransform(0, view, hmd->eye[0].projection);
// Set view 0 default viewport.
//