Commit 896e3076 authored by Jérôme Gardou's avatar Jérôme Gardou Committed by Alexandre Julliard

d3dx8: Implement D3DXMatrixStack_RotateAxis.

parent d25fd01b
......@@ -764,9 +764,16 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_Push(ID3DXMatrixStack *iface)
static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxis(ID3DXMatrixStack *iface, CONST D3DXVECTOR3 *pv, FLOAT angle)
{
D3DXMATRIX temp;
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
FIXME("(%p) : stub\n",This);
return E_NOTIMPL;
TRACE("iface %p\n", iface);
if (!pv) return D3DERR_INVALIDCALL;
D3DXMatrixRotationAxis(&temp, pv, angle);
D3DXMatrixMultiply(&This->stack[This->current], &This->stack[This->current], &temp);
return D3D_OK;
}
static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxisLocal(ID3DXMatrixStack *iface, CONST D3DXVECTOR3 *pv, FLOAT angle)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment