Renamed gjk to compute_minimum_distance for Matlab build

fixes-turtlebasket
Mattia Montanari 2022-10-18 22:26:04 +02:00 committed by GitHub
parent 18a62066ab
commit f70776dcda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);