ref: 9f9196a4688b9e99e39eb04a87f6a10501e120e4
dir: /binpack.h/
#include <stdbool.h> struct Input { unsigned minw; unsigned minh; unsigned maxw; unsigned maxh; unsigned wid; }; struct Output { unsigned w; unsigned h; unsigned x; unsigned y; unsigned id; }; bool bin_pack(unsigned width, unsigned height, struct Output[], struct Input[]);