solomon-b / greedypacker

2D Bin Packing Algorithms
Other
182 stars 49 forks source link

Allow floating point boxes as input instead of just integers? #7

Open JustinMBrown opened 3 years ago

JustinMBrown commented 3 years ago

Right now the boxes can only be discrete integers, but it would be very useful for the algorithms to work using floats.

Edit: Nevermind, the moment I posted this I realized I could just use arbitrarily large boxes to get whatever precision I need. Thanks for the repo!

ae-98 commented 3 years ago

Is not support floats? My boxes overflow the bins