You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RectangleF rectangleA when b is RectangleF rectangleB => Intersects(rectangleA, rectangleB),
The call to Intersects here resolves back to the same Intersects(this IShapeF, IShapeF) method causing infinite recursion until a stack overflow occurs.
Description
ShapeF.Intersects(this IShapeF, IShapeF)
has an infinite recursion bug if both parameters areRectangleF
. The bug occurs on this lineMonoGame.Extended/src/cs/MonoGame.Extended/Math/ShapeF.cs
Line 45 in 4da8929
The call to
Intersects
here resolves back to the sameIntersects(this IShapeF, IShapeF)
method causing infinite recursion until a stack overflow occurs.Related Issues
The text was updated successfully, but these errors were encountered: