diff 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
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pxd
+++ b/pytouhou/ui/renderer.pxd
@@ -9,4 +9,7 @@ cdef class Renderer:
     cdef Vertex *vertex_buffer
 
     cpdef render_elements(self, elements)
+    cpdef ortho_2d(self, left, right, bottom, top)
+    cpdef look_at(self, eye, center, up)
+    cpdef perspective(self, fovy, aspect, zNear, zFar)
     cpdef setup_camera(self, dx, dy, dz)