diff --git a/stepmania/src/RageMath.cpp b/stepmania/src/RageMath.cpp index 3b8e488fe6..01a815c26b 100644 --- a/stepmania/src/RageMath.cpp +++ b/stepmania/src/RageMath.cpp @@ -87,14 +87,3 @@ void RageMatrixRotationZ( RageMatrix* pOut, float theta ) pOut->m[0][1] = sinf(theta); pOut->m[1][0] = -pOut->m[0][1]; } - -void RageMatrixOrthoOffCenterLH( RageMatrix* pOut, float l, float r, float b, float t, float zn, float zf ) -{ - RageMatrixIdentity(pOut); - pOut->m[0][0] = 2 / (r-l); - pOut->m[1][1] = 2 / (t-b); - pOut->m[2][2] = -2 / (zn-zf); - pOut->m[3][0] = -(r+l)/(r-l); - pOut->m[3][1] = -(t+b)/(t-b); - pOut->m[3][2] = -(zf+zn)/(zn-zf); -} diff --git a/stepmania/src/RageMath.h b/stepmania/src/RageMath.h index 99189be049..fb58136021 100644 --- a/stepmania/src/RageMath.h +++ b/stepmania/src/RageMath.h @@ -26,6 +26,5 @@ void RageMatrixScaling( RageMatrix* pOut, float x, float y, float z ); void RageMatrixRotationX( RageMatrix* pOut, float fTheta ); void RageMatrixRotationY( RageMatrix* pOut, float fTheta ); void RageMatrixRotationZ( RageMatrix* pOut, float fTheta ); -void RageMatrixOrthoOffCenterLH( RageMatrix* pOut, float l, float r, float b, float t, float zn, float zf ); #endif \ No newline at end of file