Tag Info

New answers tagged


I recently encountered a related problem to do with packing a texture atlas. The main difference for yours is that you prefer "closest to a target point" result. But I think the approach will work about the same... All of the candidate locations for the new rectangle have the following property: One of its corners will lie on one of the "implied grid ...

Top 50 recent answers are included