diff --git a/stepmania/src/RageMath.cpp b/stepmania/src/RageMath.cpp index c523095596..8918bac3bc 100644 --- a/stepmania/src/RageMath.cpp +++ b/stepmania/src/RageMath.cpp @@ -442,11 +442,18 @@ RageMatrix RageLookAt( RageMatrix RageOrtho( float l, float r, float b, float t, float zn, float zf ) { + RageMatrix m( + 2/(r-l), 0, 0, 0, + 0, 2/(t-b), 0, 0, + 0, 0, -2/(zf-zn), 0, + -(r+l)/(r-l), -(t+b)/(t-b), -(zf+zn)/(zf-zn), 1 ); +/* RageMatrix m( 2/(r-l), 0, 0, 0, 0, 2/(t-b), 0, 0, 0, 0, 1/(zf-zn), 0, (l+r)/(l-r), (t+b)/(b-t), zn/(zn-zf), 1 ); +*/ return m; }