remove unused RageMatrixOrthoOffCenterLH

This commit is contained in:
Glenn Maynard
2002-11-15 08:15:15 +00:00
parent df22699cec
commit 4fa74d7118
2 changed files with 0 additions and 12 deletions
-11
View File
@@ -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);
}