comparison pytouhou/ui/opengl/gamerenderer.pxd @ 523:6e3b3d5d4691

Make matrix a struct.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 18 Dec 2013 17:53:29 +0100
parents b18f0bd30ad0
children 53fa73932e9a
comparison
equal deleted inserted replaced
522:e8496e5ba056 523:6e3b3d5d4691
3 from .background cimport BackgroundRenderer 3 from .background cimport BackgroundRenderer
4 from .renderer cimport Renderer, Framebuffer 4 from .renderer cimport Renderer, Framebuffer
5 from .shader cimport Shader 5 from .shader cimport Shader
6 6
7 cdef class GameRenderer(Renderer): 7 cdef class GameRenderer(Renderer):
8 cdef Matrix game_mvp, interface_mvp, proj 8 cdef Matrix *game_mvp, *interface_mvp, *proj
9 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader 9 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader
10 cdef Framebuffer framebuffer 10 cdef Framebuffer framebuffer
11 cdef BackgroundRenderer background_renderer 11 cdef BackgroundRenderer background_renderer
12 cdef object background 12 cdef object background
13 13