diff --git a/source/maths/mtx_orthotilt.c b/source/maths/mtx_orthotilt.c index 58a4f97..eeae7ea 100644 --- a/source/maths/mtx_orthotilt.c +++ b/source/maths/mtx_orthotilt.c @@ -13,6 +13,6 @@ void Mtx_OrthoTilt(C3D_Mtx* mtx, float left, float right, float bottom, float to mtx->r[1].x = 2.0f / (left - right); mtx->r[1].w = (left + right) / (right - left); mtx->r[2].z = 1.0f / (near - far); - mtx->r[2].w = 0.5f*(far + near) / (near - far) - 0.5f; + mtx->r[2].w = 0.5f*(far + near) / (near - far) - 0.5f; mtx->r[3].w = 1.0f; }