Mercurial > touhou
diff pytouhou/ui/sdl/sprite.pyx @ 514:3d4410de78e1
Remove some useless optimisations now that cython does them for us.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 05 Dec 2013 20:40:11 +0100 |
parents | b39ad30c6620 |
children | 43ecf0f98f4d |
line wrap: on
line diff
--- a/pytouhou/ui/sdl/sprite.pyx +++ b/pytouhou/ui/sdl/sprite.pyx @@ -16,7 +16,7 @@ from libc.math cimport M_PI as pi -cpdef object get_sprite_rendering_data(Sprite sprite): +cpdef tuple get_sprite_rendering_data(Sprite sprite): cdef double x, y, tx, ty, tw, th, sx, sy, rz, tox, toy if not sprite.changed: