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
c78cd3f5
Commit
c78cd3f5
authored
Dec 18, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add more Windows.Foundation.Numerics structs.
parent
10765f29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
0 deletions
+76
-0
windows.foundation.numerics.idl
include/windows.foundation.numerics.idl
+76
-0
No files found.
include/windows.foundation.numerics.idl
View file @
c78cd3f5
...
...
@@ -27,7 +27,51 @@ import "windowscontracts.idl";
import
"windows.foundation.idl"
;
namespace
Windows
.
Foundation.Numerics
{
typedef
struct
Matrix3x2
Matrix3x2
;
typedef
struct
Matrix4x4
Matrix4x4
;
typedef
struct
Plane
Plane
;
typedef
struct
Quaternion
Quaternion
;
typedef
struct
Vector2
Vector2
;
typedef
struct
Vector3
Vector3
;
typedef
struct
Vector4
Vector4
;
declare
{
interface
Windows
.
Foundation.IReference<Windows.Foundation.Numerics.Matrix4x4>;
interface
Windows
.
Foundation.IReference<Windows.Foundation.Numerics.Vector2>;
interface
Windows
.
Foundation.IReference<Windows.Foundation.Numerics.Vector3>;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Matrix3x2
{
FLOAT
M11
;
FLOAT
M12
;
FLOAT
M21
;
FLOAT
M22
;
FLOAT
M31
;
FLOAT
M32
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Matrix4x4
{
FLOAT
M11
;
FLOAT
M12
;
FLOAT
M13
;
FLOAT
M14
;
FLOAT
M21
;
FLOAT
M22
;
FLOAT
M23
;
FLOAT
M24
;
FLOAT
M31
;
FLOAT
M32
;
FLOAT
M33
;
FLOAT
M34
;
FLOAT
M41
;
FLOAT
M42
;
FLOAT
M43
;
FLOAT
M44
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Vector3
...
...
@@ -36,4 +80,36 @@ namespace Windows.Foundation.Numerics {
FLOAT
Y
;
FLOAT
Z
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Plane
{
Windows
.
Foundation.Numerics.Vector3
Normal
;
FLOAT
D
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Quaternion
{
FLOAT
X
;
FLOAT
Y
;
FLOAT
Z
;
FLOAT
W
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Vector2
{
FLOAT
X
;
FLOAT
Y
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
Vector4
{
FLOAT
X
;
FLOAT
Y
;
FLOAT
Z
;
FLOAT
W
;
}
;
}
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