Use a symmetrical clip plane for the orthographic projection

This commit is contained in:
José Ignacio Romero 2016-09-07 00:10:33 -05:00 committed by Chris Pavlina
parent df40159ce7
commit cd976d36b7
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ void CCAMERA::rebuildProjection()
case PROJECTION_ORTHO:
m_frustum.nearD = 0.01f;
m_frustum.nearD = -m_frustum.farD; // Use a symmetrical clip plane for ortho projection
const float orthoReductionFactor = m_zoom / 75.0f;