view pytouhou/ui/opengl/sprite.pxd @ 536:6b76c9ba3975

Make archives return files by default, instead of bytes.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 05 Apr 2014 18:53:48 +0200
parents dacdcca59b66
children 53fa73932e9a
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef struct RenderingData:
    float pos[12], left, right, bottom, top
    unsigned char color[4]
    long key

cdef RenderingData* get_sprite_rendering_data(Sprite sprite) nogil
cdef void render_sprite(Sprite sprite) nogil