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
1feb1c05
Commit
1feb1c05
authored
Oct 05, 2007
by
David Adam
Committed by
Alexandre Julliard
Oct 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Skeleton header for D3DX8.
parent
8e64d870
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
0 deletions
+94
-0
Makefile.in
include/Makefile.in
+2
-0
d3dx8.h
include/d3dx8.h
+28
-0
d3dx8math.h
include/d3dx8math.h
+64
-0
No files found.
include/Makefile.in
View file @
1feb1c05
...
...
@@ -104,7 +104,9 @@ SRCDIR_INCLUDES = \
d3drmdef.h
\
d3dtypes.h
\
d3dvec.inl
\
d3dx8.h
\
d3dx8core.h
\
d3dx8math.h
\
dbghelp.h
\
dbinit.idl
\
dbprop.idl
\
...
...
include/d3dx8.h
0 → 100644
View file @
1feb1c05
/*
* Copyright (C) 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 __D3DX8_H__
#define __D3DX8_H__
#include <d3d8.h>
#include <limits.h>
#include <d3dx8math.h>
#include <d3dx8core.h>
#endif
include/d3dx8math.h
0 → 100644
View file @
1feb1c05
/*
* Copyright (C) 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
*/
#include <d3dx8.h>
#ifndef __D3DX8MATH_H__
#define __D3DX8MATH_H__
#include <math.h>
#define D3DX_PI ((FLOAT)3.141592654)
#define D3DX_1BYPI ((FLOAT)0.318309886)
#define D3DXToRadian(degree) ((degree) * (D3DX_PI / 180.0f))
#define D3DXToDegree(radian) ((radian) * (180.0f / D3DX_PI))
typedef
struct
D3DXVECTOR2
{
FLOAT
x
,
y
;
}
D3DXVECTOR2
,
*
LPD3DXVECTOR2
;
typedef
struct
D3DXVECTOR3
{
FLOAT
x
,
y
,
z
;
}
D3DXVECTOR3
,
*
LPD3DXVECTOR3
;
typedef
struct
D3DXVECTOR4
{
FLOAT
x
,
y
,
z
,
w
;
}
D3DXVECTOR4
,
*
LPD3DXVECTOR4
;
typedef
struct
_D3DMATRIX
D3DXMATRIX
,
*
LPD3DXMATRIX
;
typedef
struct
D3DXQUATERNION
{
FLOAT
x
,
y
,
z
,
w
;
}
D3DXQUATERNION
,
*
LPD3DXQUATERNION
;
typedef
struct
D3DXPLANE
{
FLOAT
a
,
b
,
c
,
d
;
}
D3DXPLANE
,
*
LPD3DXPLANE
;
typedef
struct
D3DXCOLOR
{
FLOAT
r
,
g
,
b
,
a
;
}
D3DXCOLOR
,
*
LPD3DXCOLOR
;
#endif
/* __D3DX8MATH_H__ */
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