view pytouhou/ui/opengl/sprite.pxd @ 533:de778a80820a

Optimise Clock a bit more.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 10 Feb 2014 18:03:50 +0100
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