mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
d3dx8: Implement D3DXMatrixStack_RotateYawPitchRoll.
This commit is contained in:
parent
c2f00b3170
commit
39e0dc79ef
@ -792,9 +792,15 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxisLocal(ID3DXMatrixStack *ifa
|
||||
|
||||
static HRESULT WINAPI ID3DXMatrixStackImpl_RotateYawPitchRoll(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);
|
||||
|
||||
D3DXMatrixRotationYawPitchRoll(&temp, x, y, z);
|
||||
D3DXMatrixMultiply(&This->stack[This->current], &This->stack[This->current], &temp);
|
||||
|
||||
return D3D_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ID3DXMatrixStackImpl_RotateYawPitchRollLocal(ID3DXMatrixStack *iface, FLOAT x, FLOAT y, FLOAT z)
|
||||
|
Loading…
Reference in New Issue
Block a user