maxrects-packer
maxrects-packer copied to clipboard
Bugs in edgy rect placement in updateBinSize()
This solves the bugs in #55
What have i done:
- added fit or not fit check in extra test on rotated node to check for its better choice
- removes padding on fit comparisons
I have doubts with the padding issue and my solution. It rotates only the fourth why not all? Is my solution correct?
I have a questin right here. I struggled a lot to reproduce the bugs because in maxrects-packer.ts
the option for square
is false
and in maxrects-bin.ts
the same option is true
. Was hard to find this out. Should this be the same default options?