diff --git a/stepmania/src/RageMath.cpp b/stepmania/src/RageMath.cpp index 07de489d8d..3b8e488fe6 100644 --- a/stepmania/src/RageMath.cpp +++ b/stepmania/src/RageMath.cpp @@ -13,7 +13,6 @@ #include "RageMath.h" #include "RageTypes.h" -#include "D3DX8Math.h" #ifdef _DEBUG #pragma comment(lib, "plib-1.6.0/sg_d.lib") @@ -99,13 +98,3 @@ void RageMatrixOrthoOffCenterLH( RageMatrix* pOut, float l, float r, float b, fl pOut->m[3][1] = -(t+b)/(t-b); pOut->m[3][2] = -(zf+zn)/(zn-zf); } - -void RageMatrixLookAtLH( RageMatrix* pOut, const RageVector3* pEye, const RageVector3* pAt, const RageVector3* pUp ) -{ - D3DXMatrixLookAtLH( (D3DXMATRIX*)pOut, (const D3DXVECTOR3*)pEye, (const D3DXVECTOR3*)pAt, (const D3DXVECTOR3*)pUp ); -} - -void RageMatrixPerspectiveFovLH( RageMatrix* pOut, float fovy, float Aspect, float zn, float zf ) -{ - D3DXMatrixPerspectiveFovLH( (D3DXMATRIX*)pOut, fovy, Aspect, zn, zf ); -} diff --git a/stepmania/src/RageMath.h b/stepmania/src/RageMath.h index d5a377e388..99189be049 100644 --- a/stepmania/src/RageMath.h +++ b/stepmania/src/RageMath.h @@ -27,7 +27,5 @@ 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 ); -void RageMatrixLookAtLH( RageMatrix* pOut, const RageVector3* pEye, const RageVector3* pAt, const RageVector3* pUp ); -void RageMatrixPerspectiveFovLH( RageMatrix* pOut, float fovy, float Aspect, float zn, float zf ); #endif \ No newline at end of file