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
Humanoid Path Planner
hpp-fcl
Commits
018425e9
Verified
Commit
018425e9
authored
Jun 09, 2021
by
Justin Carpentier
Browse files
collision: fix missing else
parent
c21cebf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/collision_func_matrix.cpp
View file @
018425e9
...
...
@@ -97,7 +97,7 @@ std::size_t ShapeShapeCollide(const CollisionGeometry* o1, const Transform3f& tf
}
num_contacts
=
result
.
numContacts
();
}
if
(
distance
<=
request
.
security_margin
)
{
else
if
(
distance
<=
request
.
security_margin
)
{
if
(
result
.
numContacts
()
<
request
.
num_max_contacts
)
{
const
Vec3f
&
p1
=
distanceResult
.
nearest_points
[
0
];
const
Vec3f
&
p2
=
distanceResult
.
nearest_points
[
1
];
...
...
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