Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ConvexHullPairTester get wrong contacts with parallel edges cases #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pro-Ly
Copy link

@Pro-Ly Pro-Ly commented May 26, 2024

There is a bug in convexhull tester: when one edge from shape B's face perform clipping with shape A'face find two edges parallel, it will override the right result to invalid.

In fact. I believe that there is no need to do anything with parallel edge cases. They will be filtered in the later "if (earliestExit >= latestEntry)" judgements.

@RossNordby
Copy link
Member

Thanks; I'm traveling, so it will take a while for me to check this out in depth. This part of the pair tester involves some extremely subtle details if I remember correctly. I'm going to have to stare at it for a while. If you have a reliable reproduction case for the bug (e.g. a convexhull and a set of poses which shows the failure), that'd help me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants