AlanIWBFT / rectpack2D

A header-only, quite efficient rectangle packing library.

Home Page:http://gamedev.stackexchange.com/a/34193/16982

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlanIWBFT's simplified rectpack2D

I strongly feel the original library is a perfect example of overengineering (sorry), so I did this simplified version here. It just does the online insertion part, without flipping and sorting. Implement your own heuristics on top of it (inserting by descending order of area/max length, etc.)

About

A header-only, quite efficient rectangle packing library.

http://gamedev.stackexchange.com/a/34193/16982


Languages

Language:C++ 100.0%