view pytouhou/ui/renderer.pxd @ 333:d369a369204a

Prevent story mode in easy to go beyond stage 5.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 30 Jun 2012 20:50:37 +0200
parents 5cac48b328ad
children 74471afbac37
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 Vertex *vertex_buffer

    cpdef render_elements(self, elements)
    cpdef setup_camera(self, dx, dy, dz)