Skip to content

Commit

Permalink
gjk: normalize guess
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jun 24, 2022
1 parent 27373a2 commit 331c6d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/hpp/fcl/narrowphase/narrowphase.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ struct HPP_FCL_DLLAPI GJKSolver {
}
guess.noalias() =
s1.aabb_center - (shape.oR1 * s2.aabb_center + shape.ot1);
guess.normalize();
support_hint.setZero();
break;
default:
Expand Down

0 comments on commit 331c6d6

Please sign in to comment.