History

Fixing sixense and restoring lookat

Bradley Austin Davis committed 11 years ago

Commit 098a9bd1 parent fb3e3096 files · +65 −8Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Application.cpp+5−0
@@ -852,6 +852,11 @@ void Application::paintGL() { · 851 unmodified lines
852 glm::vec3(0.0f, 0.0f, -1.0f) * MIRROR_FULLSCREEN_DISTANCE * _scaleMirror);852 glm::vec3(0.0f, 0.0f, -1.0f) * MIRROR_FULLSCREEN_DISTANCE * _scaleMirror);
853 }853 }
854 854
855 // Update camera position
856 if (!OculusManager::isConnected()) {
857 _myCamera.update(1.0f / _fps);
858 }
859
855 if (getShadowsEnabled()) {860 if (getShadowsEnabled()) {
856 updateShadowMap();861 updateShadowMap();
857 }862 }