graphics - Bin packing with the ability to remove/free used rectangles -


helo, have been using popular library https://github.com/juj/rectanglebinpack , more maxrectsbinpack.cpp pack images atlas without having reposition anything, ever. place image once , stays there lifetime of app. or @ least used because need able remove image , free space occupying. tried erase rectangle "usedrectangles" vector , push "freedrectangles" seems going wrong , corrupting rest of images in atlas. there i'm missing here? there way achieve without having refit in atlas?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -