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 ball/compound intersection test + 2D convex hull orientation #53

Merged
merged 4 commits into from
Sep 25, 2021

Conversation

sebcrozet
Copy link
Member

Modified

  • Until now, the orientation of the polygon computed by 2D convex hull computation parry2d::transformation::convex_hull and
    parry2d::transformation::convex_hull_idx wasn't specified (and was generally in clockwise order). Now, this
    orientation is explicitly specified in the documentation and is set to counter-clockwise order (which is coherent
    with orientation expected by, e.g., the ConvexPolygon type).

Fixed

  • Fix the orientation of the polygons generated by the 2D convex polygon decomposition (they are now always oriented
    counter-clockwise as expected by the ConvexPolygon type).
  • Fix the intersection test between a 2D ball and a 2D compound shape.

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.

None yet

1 participant