You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced PackedItems which are a wrapper around Items with positional and dimensional information (x, y, z co-ordinates of corner closest to origin, width/length/depth as packed)
Added method to set threshold at which weight redistribution is disabled
Changed
PackedBox now contains a PackedItemList of PackedItems (rather than an ItemList of Items)
ConstrainedItem->canBePackedInBox now takes a PackedItemList of PackedItems (rather than an ItemList of Items)
BoxList, ItemList, PackedBoxList have been altered to implement the Traversable interface rather than extend SplHeap directly so that any future changes to the internals will not need an API change
Minimum PHP version is now 7.1 (v2 of BoxPacker with it's lower requirement of PHP 5.4 continues to be maintained)
Removed
HHVM support now that project has a stated goal of no longer targeting PHP7 compatibility