Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
69cf5e4d
Commit
69cf5e4d
authored
Jun 22, 2011
by
Dylan Smith
Committed by
Alexandre Julliard
Jun 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Implement GetBoneOffsetMatrix and SetBoneOffsetMatrix.
parent
1a1fa9a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
skin.c
dlls/d3dx9_36/skin.c
+11
-3
No files found.
dlls/d3dx9_36/skin.c
View file @
69cf5e4d
...
...
@@ -26,6 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
struct
bone
{
char
*
name
;
D3DXMATRIX
transform
;
DWORD
num_influences
;
DWORD
*
vertices
;
FLOAT
*
weights
;
...
...
@@ -274,18 +275,25 @@ static HRESULT WINAPI ID3DXSkinInfoImpl_SetBoneOffsetMatrix(ID3DXSkinInfo *iface
{
ID3DXSkinInfoImpl
*
This
=
impl_from_ID3DXSkinInfo
(
iface
);
FIXME
(
"(%p, %u, %p): stub
\n
"
,
This
,
bone_num
,
bone_transform
);
TRACE
(
"(%p, %u, %p)
\n
"
,
This
,
bone_num
,
bone_transform
);
return
E_NOTIMPL
;
if
(
bone_num
>=
This
->
num_bones
||
!
bone_transform
)
return
D3DERR_INVALIDCALL
;
This
->
bones
[
bone_num
].
transform
=
*
bone_transform
;
return
D3D_OK
;
}
static
LPD3DXMATRIX
WINAPI
ID3DXSkinInfoImpl_GetBoneOffsetMatrix
(
ID3DXSkinInfo
*
iface
,
DWORD
bone_num
)
{
ID3DXSkinInfoImpl
*
This
=
impl_from_ID3DXSkinInfo
(
iface
);
FIXME
(
"(%p, %u): stub
\n
"
,
This
,
bone_num
);
TRACE
(
"(%p, %u)
\n
"
,
This
,
bone_num
);
if
(
bone_num
>=
This
->
num_bones
)
return
NULL
;
return
&
This
->
bones
[
bone_num
].
transform
;
}
static
HRESULT
WINAPI
ID3DXSkinInfoImpl_Clone
(
ID3DXSkinInfo
*
iface
,
LPD3DXSKININFO
*
skin_info
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment