ThomasMiz / RectpackSharp

A rectangle packing library for .NET Standard
MIT License
77 stars 13 forks source link

height & length cannot be swapped #4

Open yBother2 opened 9 months ago

yBother2 commented 9 months ago

Apparently the output of the program is not the same if height & length of are being reversed. Why is that? Does the provided alogrithm not allow for rotating by 90°?

ThomasMiz commented 9 months ago

I assume you mean width and height, right?

No, the algorithm doesn't currently support rotating rectangles.

This has been requested a bunch of times, so I might add this functionality eventually. Currently I have no plans to, simply because it's not a trivial task and I don't have the time lol