1
0
Fork 0
forked from fte/fteqw

I want D3DMultMatrixf to work... This is on the way, but it's not perfect, or fully functional. Just better than nothing drawn...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@25 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-08-23 04:00:48 +00:00
parent a515abba52
commit 985c70e051

View file

@ -2079,6 +2079,11 @@ public:
m_currentMatrixStack->LoadMatrix((D3DXMATRIX*) m); m_currentMatrixStack->LoadMatrix((D3DXMATRIX*) m);
*m_currentMatrixStateDirty = true; *m_currentMatrixStateDirty = true;
} }
void glMultMatrixf (const GLfloat *m){
SetRenderStateDirty();
m_currentMatrixStack->MultMatrixLocal((D3DXMATRIX*) m);
*m_currentMatrixStateDirty = true;
}
void glMatrixMode (GLenum mode){ void glMatrixMode (GLenum mode){
m_glMatrixMode = mode; m_glMatrixMode = mode;
@ -3700,7 +3705,7 @@ void APIENTRY D3DTexEnvi (GLenum target, GLenum pname, GLint param)
} }
void APIENTRY D3DMultMatrixf (const GLfloat *m) void APIENTRY D3DMultMatrixf (const GLfloat *m)
{ {
D3DMultMatrixf(m); gFakeGL->glMultMatrixf(m);
} }
void APIENTRY D3DNormal3f(GLfloat x, GLfloat y, GLfloat z) void APIENTRY D3DNormal3f(GLfloat x, GLfloat y, GLfloat z)