We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/photonstorm/phaser/blob/c5d53f9e94928746770176ea1db3d29b495b9b05/src/geom/intersects/GetLineToLine.js#L66
if (x3 + dx2 * t - x1)===0 and dx1 === 0, u & s will be NaN. then the out.x & out.y will be NaN
(x3 + dx2 * t - x1)===0
dx1 === 0
u & s
out.x & out.y
The text was updated successfully, but these errors were encountered:
This issue has been resolved.
We have investigated the problem and have implemented a solution to check whenever dx1 or dy1 values are zero.
dx1
dy1
The fix will be reflected in the next Phaser update.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
https://github.com/photonstorm/phaser/blob/c5d53f9e94928746770176ea1db3d29b495b9b05/src/geom/intersects/GetLineToLine.js#L66
if
(x3 + dx2 * t - x1)===0
anddx1 === 0
,u & s
will be NaN.then the
out.x & out.y
will be NaNThe text was updated successfully, but these errors were encountered: