d3dx8: Implement D3DXMatrixStack_Scale.

This commit is contained in:
Jérôme Gardou 2008-11-12 09:03:32 +01:00 committed by Alexandre Julliard
parent 6d27cdc17a
commit 75cb8a7ad3
1 changed files with 8 additions and 2 deletions

View File

@ -818,9 +818,15 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_RotateYawPitchRollLocal(ID3DXMatrixSt
static HRESULT WINAPI ID3DXMatrixStackImpl_Scale(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);
D3DXMatrixScaling(&temp, x, y, z);
D3DXMatrixMultiply(&This->stack[This->current], &This->stack[This->current], &temp);
return D3D_OK;
}
static HRESULT WINAPI ID3DXMatrixStackImpl_ScaleLocal(ID3DXMatrixStack *iface, FLOAT x, FLOAT y, FLOAT z)