We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b6662d commit 526b538Copy full SHA for 526b538
include/hpp/fcl/narrowphase/narrowphase.h
@@ -201,7 +201,7 @@ struct HPP_FCL_DLLAPI GJKSolver {
201
if (gjk.hasPenetrationInformation(shape)) {
202
gjk.getClosestPoints(shape, w0, w1);
203
distance = gjk.distance;
204
- normal = tf1.getRotation() * (w0 - w1).normalized();
+ normal.noalias() = tf1.getRotation() * (w0 - w1).normalized();
205
p1 = p2 = tf1.transform((w0 + w1) / 2);
206
} else {
207
details::EPA epa(epa_max_face_num, epa_max_vertex_num,
0 commit comments