Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0fb6b8e7
Commit
0fb6b8e7
authored
Apr 19, 2007
by
David Adam
Committed by
Alexandre Julliard
Apr 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add d3drmdef.h header.
parent
505c97d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
Makefile.in
include/Makefile.in
+1
-0
d3drmdef.h
include/d3drmdef.h
+61
-0
No files found.
include/Makefile.in
View file @
0fb6b8e7
...
...
@@ -92,6 +92,7 @@ SRCDIR_INCLUDES = \
d3dcaps.h
\
d3dhal.h
\
d3drm.h
\
d3drmdef.h
\
d3dtypes.h
\
d3dvec.inl
\
d3dx8core.h
\
...
...
include/d3drmdef.h
0 → 100644
View file @
0fb6b8e7
/*
* Copyright 2007 Vijay Kiran Kamuju
* Copyright 2007 David ADAM
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __D3DRMDEFS_H__
#define __D3DRMDEFS_H__
#include <stddef.h>
#include <d3dtypes.h>
#if defined(__cplusplus)
extern
"C"
{
#endif
typedef
D3DVALUE
D3DRMMATRIX4D
[
4
][
4
];
typedef
struct
_D3DRMQUATERNION
{
D3DVALUE
s
;
D3DVECTOR
v
;
}
D3DRMQUATERNION
,
*
LPD3DRMQUATERNION
;
void
WINAPI
D3DRMMatrixFromQuaternion
(
D3DRMMATRIX4D
,
LPD3DRMQUATERNION
);
LPD3DRMQUATERNION
WINAPI
D3DRMQuaternionFromRotation
(
LPD3DRMQUATERNION
,
LPD3DVECTOR
,
D3DVALUE
);
LPD3DRMQUATERNION
WINAPI
D3DRMQuaternionMultiply
(
LPD3DRMQUATERNION
,
LPD3DRMQUATERNION
,
LPD3DRMQUATERNION
);
LPD3DRMQUATERNION
WINAPI
D3DRMQuaternionSlerp
(
LPD3DRMQUATERNION
,
LPD3DRMQUATERNION
,
LPD3DRMQUATERNION
,
D3DVALUE
);
LPD3DVECTOR
WINAPI
D3DRMVectorAdd
(
LPD3DVECTOR
,
LPD3DVECTOR
,
LPD3DVECTOR
);
LPD3DVECTOR
WINAPI
D3DRMVectorCrossProduct
(
LPD3DVECTOR
,
LPD3DVECTOR
,
LPD3DVECTOR
);
D3DVALUE
WINAPI
D3DRMVectorDotProduct
(
LPD3DVECTOR
,
LPD3DVECTOR
);
LPD3DVECTOR
WINAPI
D3DRMVectorNormalize
(
LPD3DVECTOR
);
#define D3DRMVectorNormalise D3DRMVectorNormalize
D3DVALUE
WINAPI
D3DRMVectorModulus
(
LPD3DVECTOR
);
LPD3DVECTOR
WINAPI
D3DRMVectorRandom
(
LPD3DVECTOR
);
LPD3DVECTOR
WINAPI
D3DRMVectorRotate
(
LPD3DVECTOR
,
LPD3DVECTOR
,
LPD3DVECTOR
,
D3DVALUE
);
LPD3DVECTOR
WINAPI
D3DRMVectorReflect
(
LPD3DVECTOR
,
LPD3DVECTOR
,
LPD3DVECTOR
);
LPD3DVECTOR
WINAPI
D3DRMVectorScale
(
LPD3DVECTOR
,
LPD3DVECTOR
,
D3DVALUE
);
LPD3DVECTOR
WINAPI
D3DRMVectorSubtract
(
LPD3DVECTOR
,
LPD3DVECTOR
,
LPD3DVECTOR
);
#if defined(__cplusplus)
}
#endif
#endif
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