Showing the changes to interface/src/Application_render.cpp (1 of 1 file). Show all
Unified · Split
| @@ -63,7 +63,6 @@ void Application::paintGL() { · 62 unmodified lines | ||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | RenderArgs renderArgs; |
| 66 | − float sensorToWorldScale; | |
| 67 | 66 | glm::mat4 HMDSensorPose; |
| 68 | 67 | glm::mat4 eyeToWorld; |
| 69 | 68 | glm::mat4 sensorToWorld; |
| @@ -78,7 +77,6 @@ void Application::paintGL() { · 8 unmodified lines | ||
| 78 | 77 | HMDSensorPose = _appRenderArgs._headPose; |
| 79 | 78 | eyeToWorld = _appRenderArgs._eyeToWorld; |
| 80 | 79 | sensorToWorld = _appRenderArgs._sensorToWorld; |
| 81 | − sensorToWorldScale = _appRenderArgs._sensorToWorldScale; | |
| 82 | 80 | isStereo = _appRenderArgs._isStereo; |
| 83 | 81 | for_each_eye([&](Eye eye) { |
| 84 | 82 | stereoEyeOffsets[eye] = _appRenderArgs._eyeOffsets[eye]; |
| @@ -110,7 +108,6 @@ void Application::paintGL() { · 25 unmodified lines | ||
| 110 | 108 | // updateCamera(renderArgs); |
| 111 | 109 | { |
| 112 | 110 | PROFILE_RANGE(render, "/updateCompositor"); |
| 113 | − // getApplicationCompositor().setFrameInfo(_frameCount, _myCamera.getTransform(), getMyAvatar()->getSensorToWorldMatrix()); | |
| 114 | 111 | getApplicationCompositor().setFrameInfo(_frameCount, eyeToWorld, sensorToWorld); |
| 115 | 112 | } |
| 116 | 113 | |