Gilbert–Johnson–Keerthi distance algorithm: Difference between revisions

Content deleted Content added
Kingding (talk | contribs)
fix typo
Line 21:
function GJK_intersection(shape p, shape q, vector initial_axis):
vector A = Support(p, initial_axis) - Support(q, -initial_axis)
simplex Ss = {A}
vector D = -A
loop: