gamefreak/Athena — pull request #36 by sfiera (2014-07-13 08:11:54+00:00)
Title: Simplify sprite grid distribution code.

If we count down from sqrt(count), then we're guaranteed that the first
valid rectangle we see is the best one.