eevee/sanpera — pull request #19 by habnabit (2013-05-20 19:28:22+00:00)
Title: Stop relying on float division in sanpera.geometry.Size.

In some cases, where x and y are both ints, int(x/(x/y)) != y. It's easier to not rely on this at all and use the original dimensions when possible.

The code might be able to be simplified a bit more, but this seems good enough to me.