Skip to content

Commit 038937a

Browse files
authored
Make result optional in calcRectExit (#3448)
1 parent c9ae61e commit 038937a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flixel/util/FlxCollision.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class FlxCollision
366366
* Only returned if the line enters the rect.
367367
* @return The point of exit of the line from the rect, if possible.
368368
*/
369-
public static inline function calcRectExit(rect, start, end, result)
369+
public static inline function calcRectExit(rect, start, end, ?result)
370370
{
371371
return calcRectEntry(rect, end, start, result);
372372
}

0 commit comments

Comments
 (0)