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

Fixes collisions(#1183). #1666

Merged
merged 2 commits into from
Apr 1, 2023
Merged

Fixes collisions(#1183). #1666

merged 2 commits into from
Apr 1, 2023

Conversation

gran4
Copy link
Contributor

@gran4 gran4 commented Apr 1, 2023

Before, if min_a, min_b, max_a, max_b weren't changed by the code, it would break(make odd collisions) as #1183 notes. Now, it always creates the collisions

Before, if min_a, min_b, max_a, max_b weren't changed by the code, it would break(make odd collisions) as #1183 notes. Now, it always creates the collisions
@pvcraven pvcraven merged commit ab6655c into pythonarcade:development Apr 1, 2023
@pvcraven
Copy link
Member

pvcraven commented Apr 1, 2023

Thank you!

@einarf
Copy link
Member

einarf commented Apr 2, 2023

Do we have some sample data of some hit box points that triggered this issue? It would be useful adding this to unit tests so we can cover future implementations including the rust version.

gran4 pushed a commit to gran4/arcade that referenced this pull request Apr 2, 2023
Tests are_polygons_intersecting
    checks if both are empty
    checks if one is empty one is not.

As the bellow note
pythonarcade#1183

pythonarcade#1666
gran4 pushed a commit to gran4/arcade that referenced this pull request Apr 3, 2023
New PR
Made tests for pythonarcade#1666
@gran4 gran4 mentioned this pull request Apr 3, 2023
Cleptomania pushed a commit that referenced this pull request Apr 3, 2023
* Fixed Geometry tests

New PR
Made tests for #1666

* Made a mistake(Fixed)

* Fixed v2

---------

Co-authored-by: Grant Hur <22hurg@sjchrisitan.org>
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.

3 participants