ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor
MIT License
447 stars 37 forks source link

Fix/AddPolyline array allocation #150

Closed brmassa closed 2 months ago

brmassa commented 2 months ago

GUI.CornerRounding.AddPolyline was creating new arrays all the time.

Reuse one to avoid memory leak.