From f70776dcdae03ab6e9227268e95520fdf2df8e73 Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Tue, 18 Oct 2022 22:26:04 +0200 Subject: [PATCH] Renamed gjk to compute_minimum_distance for Matlab build --- openGJK.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openGJK.c b/openGJK.c index c5a0417..c430d9e 100644 --- a/openGJK.c +++ b/openGJK.c @@ -763,7 +763,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { s.nvrtx = 0; /* Compute squared distance using GJK algorithm */ - distance[0] = gjk(bd1, bd2, &s); + distance[0] = compute_minimum_distance(bd1, bd2, &s); mxFree(arr1); mxFree(arr2);