comparison pytouhou/ui/opengl/gamerenderer.pxd @ 586:4b0593da29d5

Simplify framebuffer rendering with glDrawArrays, and move it all to its own file.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 08 Oct 2014 16:34:24 +0200
parents 53fa73932e9a
children 1b31169dc344
comparison
equal deleted inserted replaced
585:e0166cda75d5 586:4b0593da29d5
1 from pytouhou.utils.matrix cimport Matrix 1 from pytouhou.utils.matrix cimport Matrix
2 from pytouhou.game.game cimport Game 2 from pytouhou.game.game cimport Game
3 from .background cimport BackgroundRenderer 3 from .background cimport BackgroundRenderer
4 from .renderer cimport Renderer, Framebuffer 4 from .renderer cimport Renderer
5 from .framebuffer cimport Framebuffer
5 from .shader cimport Shader 6 from .shader cimport Shader
6 7
7 cdef class GameRenderer(Renderer): 8 cdef class GameRenderer(Renderer):
8 cdef Matrix *game_mvp 9 cdef Matrix *game_mvp
9 cdef Matrix *interface_mvp 10 cdef Matrix *interface_mvp