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
83680cd0
Commit
83680cd0
authored
Apr 06, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Apr 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Fix indentation.
parent
50468585
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
mesh.c
dlls/d3dx9_36/mesh.c
+13
-13
No files found.
dlls/d3dx9_36/mesh.c
View file @
83680cd0
...
...
@@ -57,13 +57,13 @@ done we've got an intersection of the ray with the box.
div
=
1
.
0
f
/
praydirection
->
x
;
if
(
div
>=
0
.
0
f
)
{
tmin
=
(
pmin
->
x
-
prayposition
->
x
)
*
div
;
tmax
=
(
pmax
->
x
-
prayposition
->
x
)
*
div
;
tmin
=
(
pmin
->
x
-
prayposition
->
x
)
*
div
;
tmax
=
(
pmax
->
x
-
prayposition
->
x
)
*
div
;
}
else
{
tmin
=
(
pmax
->
x
-
prayposition
->
x
)
*
div
;
tmax
=
(
pmin
->
x
-
prayposition
->
x
)
*
div
;
tmin
=
(
pmax
->
x
-
prayposition
->
x
)
*
div
;
tmax
=
(
pmin
->
x
-
prayposition
->
x
)
*
div
;
}
if
(
tmax
<
0
.
0
f
)
return
FALSE
;
...
...
@@ -71,13 +71,13 @@ done we've got an intersection of the ray with the box.
div
=
1
.
0
f
/
praydirection
->
y
;
if
(
div
>=
0
.
0
f
)
{
tymin
=
(
pmin
->
y
-
prayposition
->
y
)
*
div
;
tymax
=
(
pmax
->
y
-
prayposition
->
y
)
*
div
;
tymin
=
(
pmin
->
y
-
prayposition
->
y
)
*
div
;
tymax
=
(
pmax
->
y
-
prayposition
->
y
)
*
div
;
}
else
{
tymin
=
(
pmax
->
y
-
prayposition
->
y
)
*
div
;
tymax
=
(
pmin
->
y
-
prayposition
->
y
)
*
div
;
tymin
=
(
pmax
->
y
-
prayposition
->
y
)
*
div
;
tymax
=
(
pmin
->
y
-
prayposition
->
y
)
*
div
;
}
if
(
(
tymax
<
0
.
0
f
)
||
(
tmin
>
tymax
)
||
(
tymin
>
tmax
)
)
return
FALSE
;
...
...
@@ -88,13 +88,13 @@ done we've got an intersection of the ray with the box.
div
=
1
.
0
f
/
praydirection
->
z
;
if
(
div
>=
0
.
0
f
)
{
tzmin
=
(
pmin
->
z
-
prayposition
->
z
)
*
div
;
tzmax
=
(
pmax
->
z
-
prayposition
->
z
)
*
div
;
tzmin
=
(
pmin
->
z
-
prayposition
->
z
)
*
div
;
tzmax
=
(
pmax
->
z
-
prayposition
->
z
)
*
div
;
}
else
{
tzmin
=
(
pmax
->
z
-
prayposition
->
z
)
*
div
;
tzmax
=
(
pmin
->
z
-
prayposition
->
z
)
*
div
;
tzmin
=
(
pmax
->
z
-
prayposition
->
z
)
*
div
;
tzmax
=
(
pmin
->
z
-
prayposition
->
z
)
*
div
;
}
if
(
(
tzmax
<
0
.
0
f
)
||
(
tmin
>
tzmax
)
||
(
tzmin
>
tmax
)
)
return
FALSE
;
...
...
@@ -180,7 +180,7 @@ UINT WINAPI D3DXGetFVFVertexSize(DWORD FVF)
UINT
i
;
UINT
numTextures
=
(
FVF
&
D3DFVF_TEXCOUNT_MASK
)
>>
D3DFVF_TEXCOUNT_SHIFT
;
if
(
FVF
&
D3DFVF_NORMAL
)
size
+=
sizeof
(
D3DXVECTOR3
);
if
(
FVF
&
D3DFVF_NORMAL
)
size
+=
sizeof
(
D3DXVECTOR3
);
if
(
FVF
&
D3DFVF_DIFFUSE
)
size
+=
sizeof
(
DWORD
);
if
(
FVF
&
D3DFVF_SPECULAR
)
size
+=
sizeof
(
DWORD
);
if
(
FVF
&
D3DFVF_PSIZE
)
size
+=
sizeof
(
DWORD
);
...
...
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