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
60aaed78
Commit
60aaed78
authored
May 12, 2013
by
André Hentschel
Committed by
Alexandre Julliard
May 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMMeshBuilder3_GetNormals.
parent
edacd077
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
meshbuilder.c
dlls/d3drm/meshbuilder.c
+9
-3
No files found.
dlls/d3drm/meshbuilder.c
View file @
60aaed78
...
...
@@ -2379,13 +2379,19 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_SetNormals(IDirect3DRMMeshBuil
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_GetNormals
(
IDirect3DRMMeshBuilder3
*
iface
,
DWORD
IndexFirst
,
DWORD
*
count
,
D3DVECTOR
*
vector
)
DWORD
IndexFirst
,
DWORD
*
ncount
,
D3DVECTOR
*
normals
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
DWORD
count
=
This
->
nb_normals
-
IndexFirst
;
FIXME
(
"(%p)->(%u,%p,%p): stub
\n
"
,
This
,
IndexFirst
,
count
,
vector
);
TRACE
(
"(%p)->(%u,%p,%p)
\n
"
,
This
,
IndexFirst
,
ncount
,
normals
);
return
E_NOTIMPL
;
if
(
ncount
)
*
ncount
=
count
;
if
(
normals
&&
This
->
nb_normals
)
memcpy
(
normals
,
This
->
pNormals
+
IndexFirst
,
count
*
sizeof
(
D3DVECTOR
));
return
D3DRM_OK
;
}
static
int
WINAPI
IDirect3DRMMeshBuilder3Impl_GetNormalCount
(
IDirect3DRMMeshBuilder3
*
iface
)
...
...
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