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: bbox check uses bodyA twice #79

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Conversation

RedPhoenixQ
Copy link
Contributor

In checkCollision the bbox of bodyA was used twice. When this is fixed checkCollision returns early and this PR includes a test for this case

This makes sure that `System.checkCollision` returns early when bbox does not overlap.
@Prozi
Copy link
Owner

Prozi commented Jul 15, 2024

@RedPhoenixQ thanks for contribution! will be part of a new release soon

nice catch!

@Prozi Prozi merged commit 4826ed0 into Prozi:master Jul 15, 2024
4 of 5 checks passed
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

2 participants