HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.93k stars 427 forks source link

Minor FlxDrawTrianglesItem optimization #3121

Closed MaybeMaru closed 2 months ago

MaybeMaru commented 2 months ago

Uses openfl's vector length function instead of splice for a minor performance boost clearing the vectors.

Geokureli commented 2 months ago

Thanks!