Reverse left and right frustum

This commit is contained in:
Angelo Salese 2011-09-06 16:55:14 +00:00
parent 9d59f62d92
commit 7bb9c3b650

View File

@ -493,8 +493,8 @@ void airInfernoFrustum(const INT16 leftExtent, const INT16 bottomExtent, float*
/* Hard-coded near and far clipping planes :( */ /* Hard-coded near and far clipping planes :( */
float nearZ = 1.0f; float nearZ = 1.0f;
float farZ = 10000.0f; float farZ = 10000.0f;
float left = -1.0f; float left = 1.0f;
float right = 1.0f; float right = -1.0f;
float bottom = (float)(-bottomExtent) / leftExtent; float bottom = (float)(-bottomExtent) / leftExtent;
float top = (float)(bottomExtent) / leftExtent; float top = (float)(bottomExtent) / leftExtent;