comparison pytouhou/ui/renderer.pxd @ 370:74471afbac37

Add a programmable pipeline renderer, and a --fixed-pipeline switch to use the old one.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 27 Jul 2012 18:43:48 +0200
parents 5cac48b328ad
children 8d252cdb495f
comparison
equal deleted inserted replaced
369:f305cdd6f6c5 370:74471afbac37
7 cdef class Renderer: 7 cdef class Renderer:
8 cdef public texture_manager 8 cdef public texture_manager
9 cdef Vertex *vertex_buffer 9 cdef Vertex *vertex_buffer
10 10
11 cpdef render_elements(self, elements) 11 cpdef render_elements(self, elements)
12 cpdef ortho_2d(self, left, right, bottom, top)
13 cpdef look_at(self, eye, center, up)
14 cpdef perspective(self, fovy, aspect, zNear, zFar)
12 cpdef setup_camera(self, dx, dy, dz) 15 cpdef setup_camera(self, dx, dy, dz)