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
Humanoid Path Planner
hpp-fcl
Commits
d338645a
Verified
Commit
d338645a
authored
Sep 10, 2021
by
Justin Carpentier
Browse files
core: fix bug in buildConvexRepresentation
parent
3e4bdfd7
Pipeline
#15989
passed with stage
in 27 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/BVH/BVH_model.cpp
View file @
d338645a
...
...
@@ -139,7 +139,7 @@ void BVHModelBase::buildConvexRepresentation(bool share_memory)
polygons
=
new
Triangle
[
num_tris
];
memcpy
(
polygons
,
tri_indices
,
sizeof
(
Triangle
)
*
(
size_t
)
num_tris
);
}
convex
.
reset
(
new
Convex
<
Triangle
>
(
!
share_memory
,
points
,
num_vertices
,
polygons
,
num_
vertice
s
));
convex
.
reset
(
new
Convex
<
Triangle
>
(
!
share_memory
,
points
,
num_vertices
,
polygons
,
num_
tri
s
));
}
}
...
...
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