comparison pytouhou/ui/renderer.pxd @ 398:8d252cdb495f

Move the background rendering code to pytouhou.ui.renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 12 Feb 2013 18:20:49 +0100
parents 74471afbac37
children 1c773544eaeb
comparison
equal deleted inserted replaced
397:c5ba11ede097 398:8d252cdb495f
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 render_background(self, back)
12 cpdef ortho_2d(self, left, right, bottom, top) 13 cpdef ortho_2d(self, left, right, bottom, top)
13 cpdef look_at(self, eye, center, up) 14 cpdef look_at(self, eye, center, up)
14 cpdef perspective(self, fovy, aspect, zNear, zFar) 15 cpdef perspective(self, fovy, aspect, zNear, zFar)
15 cpdef setup_camera(self, dx, dy, dz) 16 cpdef setup_camera(self, dx, dy, dz)