d3dx8: Implement D3DXMatrixStack_Translate.
This commit is contained in:
parent
230f3e6366
commit
809147f825
|
@ -845,9 +845,15 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_ScaleLocal(ID3DXMatrixStack *iface, F
|
|||
|
||||
static HRESULT WINAPI ID3DXMatrixStackImpl_Translate(ID3DXMatrixStack *iface, FLOAT x, FLOAT y, FLOAT z)
|
||||
{
|
||||
D3DXMATRIX temp;
|
||||
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
|
||||
FIXME("(%p) : stub\n",This);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("iface %p\n", iface);
|
||||
|
||||
D3DXMatrixTranslation(&temp, x, y, z);
|
||||
D3DXMatrixMultiply(&This->stack[This->current], &This->stack[This->current], &temp);
|
||||
|
||||
return D3D_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ID3DXMatrixStackImpl_TranslateLocal(ID3DXMatrixStack *iface, FLOAT x, FLOAT y, FLOAT z)
|
||||
|
|
Loading…
Reference in New Issue