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:
parent
47004dfcb4
commit
9ae56e8604
@ -163,7 +163,7 @@ impl TextureAtlasBuilder {
|
|||||||
target_bins.insert(0, TargetBin::new(current_width, current_height, 1));
|
target_bins.insert(0, TargetBin::new(current_width, current_height, 1));
|
||||||
rect_placements = match pack_rects(
|
rect_placements = match pack_rects(
|
||||||
&self.rects_to_place,
|
&self.rects_to_place,
|
||||||
target_bins,
|
&mut target_bins,
|
||||||
&volume_heuristic,
|
&volume_heuristic,
|
||||||
&contains_smallest_box,
|
&contains_smallest_box,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user