packr2

Crates.iopackr2
lib.rspackr2
version0.3.3
sourcesrc
created_at2022-08-04 04:49:40.989543
updated_at2023-03-12 22:16:36.814791
descriptiona few packing algorithms for your needs
homepage
repositoryhttps://github.com/lassade/packr2
max_upload_size
id638536
size33,286
Felipe Jorge (lassade)

documentation

README

Packr2

Implements some relevant of packing algorithms, currently StripPacker (simplest), SkylinePacker (good for unsorted data) and SplitPacker (best for bake data using the pack function)

  • It uses almost the same interface as texture_packer.
  • The SplitPacker was ported from rectpack2D but it sorts all split globably

Work left

  • Implement pack_with_best_size function to find the best packing with the lower used area
Commit count: 22

cargo fmt