Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrew Bauer
VTK
Commits
03990bb9
Commit
03990bb9
authored
Nov 02, 1995
by
Ken Martin
Browse files
PC fix
parent
bcd24f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vtkSweptSurface.cc
View file @
03990bb9
...
...
@@ -461,7 +461,7 @@ int vtkSweptSurface::ComputeNumberOfSteps(vtkTransform *t1, vtkTransform *t2,
t2
->
MultiplyPoint
(
xTrans1
,
xTrans2
);
if
(
xTrans2
[
3
]
!=
0.0
)
for
(
j
=
0
;
j
<
3
;
j
++
)
xTrans2
[
j
]
/=
xTrans2
[
3
];
dist2
=
math
.
Distance2BetweenPoints
(
xTrans1
,
xTrans2
);
dist2
=
math
.
Distance2BetweenPoints
(
(
float
*
)
xTrans1
,(
float
*
)
xTrans2
);
if
(
dist2
>
maxDist2
)
maxDist2
=
dist2
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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