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
2a7d4bd3
Commit
2a7d4bd3
authored
Nov 05, 2007
by
David Adam
Committed by
Alexandre Julliard
Nov 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx8: Uniformize the matrix format in the tests.
parent
5d8b8cd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
math.c
dlls/d3dx8/tests/math.c
+8
-4
No files found.
dlls/d3dx8/tests/math.c
View file @
2a7d4bd3
...
...
@@ -223,14 +223,18 @@ static void D3DXMatrixTest(void)
expect_mat
(
expectedmat
,
gotmat
);
/*____________D3DXMatrixOrthoLH_______________*/
D3DXMatrixIdentity
(
&
expectedmat
);
expectedmat
.
m
[
0
][
0
]
=
0
.
8
f
;
expectedmat
.
m
[
1
][
1
]
=
0
.
270270
f
;
expectedmat
.
m
[
2
][
2
]
=
-
0
.
151515
f
;
expectedmat
.
m
[
3
][
2
]
=
-
0
.
484848
f
;
expectedmat
.
m
[
0
][
0
]
=
0
.
8
f
;
expectedmat
.
m
[
0
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
0
][
2
]
=
0
.
0
f
;
expectedmat
.
m
[
0
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
1
]
=
0
.
270270
f
;
expectedmat
.
m
[
1
][
2
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
2
]
=
-
0
.
151515
f
;
expectedmat
.
m
[
2
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
2
]
=
-
0
.
484848
f
;
expectedmat
.
m
[
3
][
3
]
=
1
.
0
f
;
D3DXMatrixOrthoLH
(
&
gotmat
,
2
.
5
f
,
7
.
4
f
,
-
3
.
2
f
,
-
9
.
8
f
);
expect_mat
(
expectedmat
,
gotmat
);
/*____________D3DXMatrixOrthoRH_______________*/
D3DXMatrixIdentity
(
&
expectedmat
);
expectedmat
.
m
[
0
][
0
]
=
0
.
8
f
;
expectedmat
.
m
[
1
][
1
]
=
0
.
270270
f
;
expectedmat
.
m
[
2
][
2
]
=
0
.
151515
f
;
expectedmat
.
m
[
3
][
2
]
=
-
0
.
484848
f
;
expectedmat
.
m
[
0
][
0
]
=
0
.
8
f
;
expectedmat
.
m
[
0
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
0
][
2
]
=
0
.
0
f
;
expectedmat
.
m
[
0
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
1
]
=
0
.
270270
f
;
expectedmat
.
m
[
1
][
2
]
=
0
.
0
f
;
expectedmat
.
m
[
1
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
2
][
2
]
=
0
.
151515
f
;
expectedmat
.
m
[
2
][
3
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
0
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
1
]
=
0
.
0
f
;
expectedmat
.
m
[
3
][
2
]
=
-
0
.
484848
f
;
expectedmat
.
m
[
3
][
3
]
=
1
.
0
f
;
D3DXMatrixOrthoRH
(
&
gotmat
,
2
.
5
f
,
7
.
4
f
,
-
3
.
2
f
,
-
9
.
8
f
);
expect_mat
(
expectedmat
,
gotmat
);
...
...
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