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 Geom.Intersects#GetLineToPoints #6577

Merged

Conversation

Trissolo
Copy link
Contributor

@Trissolo Trissolo commented Aug 9, 2023

This PR

  • Fixes a bug

An oversight in the for loop prevented the intersection test between the given Geom.Line and the line segment between the first and last point.

Also fixes #6467

…ween the first and last point is no longer skipped
@photonstorm photonstorm merged commit 5079f8e into phaserjs:master Nov 8, 2023
@photonstorm
Copy link
Collaborator

👍

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.

GetLineToPolygon doesn't work as expected
2 participants