MattiaMontanari / openGJK

Fast and reliable implementation of the Gilbert-Johnson-Keerthi (GJK) algorithm for C, C#, Go, Matlab and Python
https://www.mattiamontanari.com/opengjk/
GNU General Public License v3.0
135 stars 37 forks source link

How to resolve the issue of UNEXPECTED VALUES!!! #45

Closed wangxi0706 closed 8 months ago

wangxi0706 commented 1 year ago

I am trying to compute the distance between blocks in the following figure, and it prints UNEXPECTED VALUES!!! What is the possible reason for that? Can I leave it alone?

image

MattiaMontanari commented 9 months ago

@wangxi0706 so sorry for the late reply. You may have discovered a nice bug! Can you please send me the coordinates of all nodes of both objects when this occurs?

MattiaMontanari commented 8 months ago

@wangxi0706 please reopen the bug if you can help me reproducing it