/mpbp

An MIT licensed multi-page bin packing library.

Primary LanguageC++MIT LicenseMIT

Why was this depreciated?

The algorithm used in this library has found a new home in the Roguelike Math Library (https://github.com/Journeyman-dev/rlm). You should use that library instead.

Multi Page Bin Packing Library

Tests REUSE status

Documentation Website: https://journeyman-dev.github.io/mpbp/

mpbp (Multi-Page Bin Packing library) is a free and open source library for bin packing written in C++ 20. It provides an easy to use bin packing algorithm with support for both offline and online packing. mpbp tries to optimally place Rects in multiple bins of a specific size in as few bins as possible. This system is designed for usage in creating sprite batch rendering systems that utilize more than one texture atlas page.