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

6298 Error in BoundingBox.Contains(BoundingFrustum) #7444

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Tauroctonos
Copy link

Fixed logical error in frustum containment method; see #6298

MonoGame.Framework/BoundingBox.cs Outdated Show resolved Hide resolved
MonoGame.Framework/BoundingBox.cs Outdated Show resolved Hide resolved
@initram
Copy link
Contributor

initram commented Jan 25, 2021

Have you considered this edge case? I would think that should result in intersect.
edge case

Here no corner is inside the volume of the other shape, so just checking corners are not enough to handle all intersection cases.

@Tauroctonos Tauroctonos reopened this Jan 25, 2021
@tomspilman
Copy link
Member

This needs a test case for us to merge @Tauroctonos .

If you or someone adds one we can merge it.

@SimonDarksideJ
Copy link
Contributor

@Tauroctonos are you able to provide the Unit test to accompany this PR, or should it be closed?

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.

4 participants