comparison pytouhou/ui/opengl/sprite.pyx @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents dacdcca59b66
children 016f6b937893
comparison
equal deleted inserted replaced
589:0768122da817 590:e15672733c93
77 data.left = tx * x_1 + tox 77 data.left = tx * x_1 + tox
78 data.right = (tx + tw) * x_1 + tox 78 data.right = (tx + tw) * x_1 + tox
79 data.bottom = ty * y_1 + toy 79 data.bottom = ty * y_1 + toy
80 data.top = (ty + th) * y_1 + toy 80 data.top = (ty + th) * y_1 + toy
81 81
82 for i in xrange(4): 82 for i in range(4):
83 data.color[i] = sprite._color[i] 83 data.color[i] = sprite._color[i]
84 84
85 data.key = ((<Texture>sprite.anm.texture).key << 1) | sprite.blendfunc 85 data.key = ((<Texture>sprite.anm.texture).key << 1) | sprite.blendfunc
86 sprite.changed = False 86 sprite.changed = False