Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
9e4d930b
Unverified
Commit
9e4d930b
authored
Dec 16, 2019
by
Joseph Mirabel
Committed by
GitHub
Dec 16, 2019
Browse files
[Minor] Remove misplaced ampersand.
parent
c0943dbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/distance_capsule_capsule.cpp
View file @
9e4d930b
...
...
@@ -140,8 +140,8 @@ namespace fcl {
}
// witness points achieving the distance between the two segments
const
Vec3f
&
w1
=
p1
+
s
*
d1
;
const
Vec3f
&
w2
=
p2
+
t
*
d2
;
const
Vec3f
w1
=
p1
+
s
*
d1
;
const
Vec3f
w2
=
p2
+
t
*
d2
;
FCL_REAL
distance
=
(
w1
-
w2
).
norm
();
Vec3f
normal
=
(
w1
-
w2
)
/
distance
;
result
.
normal
=
normal
;
...
...
Write
Preview
Supports
Markdown
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