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
147e1200
Commit
147e1200
authored
May 19, 2011
by
Dylan Smith
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Fix a normal comparison for triangles with zero area.
parent
77c1454c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mesh.c
dlls/d3dx9_36/tests/mesh.c
+1
-1
No files found.
dlls/d3dx9_36/tests/mesh.c
View file @
147e1200
...
...
@@ -2785,7 +2785,7 @@ static void compare_text_outline_mesh(const char *name, ID3DXMesh *d3dxmesh, str
D3DXVec3Subtract
(
&
v2
,
vtx3
,
vtx2
);
D3DXVec3Cross
(
&
normal
,
&
v1
,
&
v2
);
D3DXVec3Normalize
(
&
normal
,
&
normal
);
ok
(
compare_vec3
(
normal
,
forward
),
ok
(
!
D3DXVec3Length
(
&
normal
)
||
compare_vec3
(
normal
,
forward
),
"Test %s, glyph %d, face %d normal, result (%g, %g, %g), expected (%g, %g, %g)
\n
"
,
name
,
i
,
face_idx1
,
normal
.
x
,
normal
.
y
,
normal
.
z
,
forward
.
x
,
forward
.
y
,
forward
.
z
);
}
...
...
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