Renamed gjk to compute_minimum_distance for Matlab build

This commit is contained in:
Mattia Montanari
2022-10-18 22:26:04 +02:00
committed by GitHub
parent 18a62066ab
commit f70776dcda

View File

@@ -763,7 +763,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) {
s.nvrtx = 0; s.nvrtx = 0;
/* Compute squared distance using GJK algorithm */ /* Compute squared distance using GJK algorithm */
distance[0] = gjk(bd1, bd2, &s); distance[0] = compute_minimum_distance(bd1, bd2, &s);
mxFree(arr1); mxFree(arr1);
mxFree(arr2); mxFree(arr2);