view pytouhou/ui/renderer.pxd @ 445:b0abb05811f7

Make pytouhou.game.player an extension type, and move the GameOver exception there since it makes more sense.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 17 Aug 2013 04:44:28 +0200
parents d8630c086926
children d56536ef28e8
line wrap: on
line source

cdef struct Vertex:
    int x, y, z
    float u, v
    unsigned char r, g, b, a


cdef class Renderer:
    cdef public texture_manager
    cdef unsigned int vbo
    cdef Vertex *vertex_buffer

    cpdef render_elements(self, elements)