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

Resolves Infinite Recursion with Shape.Intersects(this IShapeF, IShapeF) #852

Conversation

AristurtleDev
Copy link
Collaborator

Description

This PR resolves the infinite recursion bug in Shape.Intersects(this IShapeF, IShapeF) when both parameters are of type RectangleF.

Related Issues

When both params `a` and `b` are of type `RectangleF` just calling `Shape.Intersects` creates a infinite recursion bug.
@AristurtleDev
Copy link
Collaborator Author

AristurtleDev commented May 17, 2024

CI Tests are failing due to other bugs in the testing suite. You can run this PR manually to see it resolves the issues in the MonoGame.Extended.Collisions.Tests suite

image

@AristurtleDev
Copy link
Collaborator Author

Going to go ahead and merge this and #854 since these are high priority issues that are blocking the CI from executing tests and getting new NuGets deployed.

@AristurtleDev AristurtleDev self-assigned this May 17, 2024
@AristurtleDev AristurtleDev merged commit 0a25e0b into craftworkgames:develop May 17, 2024
2 of 4 checks passed
@AristurtleDev AristurtleDev deleted the fix/intersetcs-recursion-bug branch May 17, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ShapeF.Intersects(this IShapeF, IShapeF) Infinite Recursion Bug
1 participant