mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
a515abba52
commit
985c70e051
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue