Skip to content

Commit 104b6f1

Browse files
committed
SupportSetFunc: fix missing emplace_back in 2d cvx-hull algo
1 parent 70328a4 commit 104b6f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/narrowphase/support_functions.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@ HPP_FCL_DLLAPI void computeSupportSetConvexHull(
954954
if (det < 0) {
955955
std::swap(cloud[1], cloud[2]);
956956
}
957+
958+
for (const Vec2f& point : cloud) {
959+
cvx_hull.emplace_back(point);
960+
}
957961
return;
958962
}
959963

0 commit comments

Comments
 (0)