issues
search
HaxeFlixel
/
flixel
Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.92k
stars
427
forks
source link
Fix rect.intersections, add rect.clipTo
#3190
Closed
Geokureli
closed
2 weeks ago
Geokureli
commented
2 weeks ago
Adds
clipTo
to
FlxRect
, for resizing a rect to the intersection of it and another
Fixes bug where an empty intersection result would not zero the resulting rect, if one was passed in
Unit tests ensuring both
clipTo
toFlxRect
, for resizing a rect to the intersection of it and another