Crates.io | packr2 |
lib.rs | packr2 |
version | 0.3.3 |
source | src |
created_at | 2022-08-04 04:49:40.989543 |
updated_at | 2023-03-12 22:16:36.814791 |
description | a few packing algorithms for your needs |
homepage | |
repository | https://github.com/lassade/packr2 |
max_upload_size | |
id | 638536 |
size | 33,286 |
Implements some relevant of packing algorithms, currently StripPacker
(simplest), SkylinePacker
(good for unsorted data)
and SplitPacker
(best for bake data using the pack
function)
texture_packer
.SplitPacker
was ported from rectpack2D
but it sorts all split globablypack_with_best_size
function to find the best packing with the lower used area