update for rectangle-pack 0.2.1 (fix CI) (#1741)

crate `rectangle-pack` just published version 0.2.1 with a breaking change: c9ecd58f7a

I also opened an issue on their repo so that they are aware of it: https://github.com/chinedufn/rectangle-pack/issues/3
This commit is contained in:
François 2021-03-23 19:07:33 +00:00
parent 47004dfcb4
commit 9ae56e8604

View file

@ -163,7 +163,7 @@ impl TextureAtlasBuilder {
target_bins.insert(0, TargetBin::new(current_width, current_height, 1));
rect_placements = match pack_rects(
&self.rects_to_place,
target_bins,
&mut target_bins,
&volume_heuristic,
&contains_smallest_box,
) {