comparison pytouhou/game/sprite.pxd @ 532:dacdcca59b66

Don’t put back the rendering data into a tuple, use a specialised struct inside Sprite to pass it to the renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 Dec 2013 21:55:26 +0100
parents 0b2a92a25245
children 725bd24235a2
comparison
equal deleted inserted replaced
531:a7dc55ad9380 532:dacdcca59b66
9 cdef public bint corner_relative_placement 9 cdef public bint corner_relative_placement
10 cdef public Interpolator scale_interpolator, fade_interpolator 10 cdef public Interpolator scale_interpolator, fade_interpolator
11 cdef public Interpolator offset_interpolator, rotation_interpolator 11 cdef public Interpolator offset_interpolator, rotation_interpolator
12 cdef public Interpolator color_interpolator 12 cdef public Interpolator color_interpolator
13 cdef public ANM anm 13 cdef public ANM anm
14 cdef public object _rendering_data 14
15 cdef void *_rendering_data
15 16
16 cdef float _dest_offset[3] 17 cdef float _dest_offset[3]
17 cdef double _texcoords[4] 18 cdef double _texcoords[4]
18 cdef double _texoffsets[2] 19 cdef double _texoffsets[2]
19 cdef double _rescale[2] 20 cdef double _rescale[2]