Mercurial > touhou
view pytouhou/ui/renderer.pxd @ 434:18e4b121646b
Move the common parts of EoSDGame outside, to not reallocate them at each stage.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 11 Aug 2013 14:30:52 +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)