History

Fix for invalid projection matrix on startup.

Andrzej Kapolka committed 12 years ago

Commit cd110d61 parent 70080121 file · +1 −1Browse files

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

Unified · Split

interface/src/Application.cpp+1−1
@@ -786,7 +786,7 @@ void Application::updateProjectionMatrix(Camera& camera, bool updateViewFrustum) · 785 unmodified lines
786 // Tell our viewFrustum about this change, using the application camera786 // Tell our viewFrustum about this change, using the application camera
787 if (updateViewFrustum) {787 if (updateViewFrustum) {
788 loadViewFrustum(camera, _viewFrustum);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 // If we're in Display Frustum mode, then we want to use the slightly adjust near/far clip values of the791 // If we're in Display Frustum mode, then we want to use the slightly adjust near/far clip values of the
792 // _viewFrustumOffsetCamera, so that we can see more of the application content in the application's frustum792 // _viewFrustumOffsetCamera, so that we can see more of the application content in the application's frustum

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t