Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -786,7 +786,7 @@ void Application::updateProjectionMatrix(Camera& camera, bool updateViewFrustum) · 785 unmodified lines | ||
| 786 | 786 | // Tell our viewFrustum about this change, using the application camera |
| 787 | 787 | if (updateViewFrustum) { |
| 788 | 788 | loadViewFrustum(camera, _viewFrustum); |
| 789 | − computeOffAxisFrustum(left, right, bottom, top, nearVal, farVal, nearClipPlane, farClipPlane); | |
| 789 | + _viewFrustum.computeOffAxisFrustum(left, right, bottom, top, nearVal, farVal, nearClipPlane, farClipPlane); | |
| 790 | 790 | |
| 791 | 791 | // If we're in Display Frustum mode, then we want to use the slightly adjust near/far clip values of the |
| 792 | 792 | // _viewFrustumOffsetCamera, so that we can see more of the application content in the application's frustum |