Mercurial > touhou
comparison pytouhou/ui/gamerenderer.pyx @ 383:0537af9125a7
Replace wildcard imports with normal ones.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 07 Sep 2012 13:05:19 +0200 |
parents | 74471afbac37 |
children | 690b5faaa0e6 |
comparison
equal
deleted
inserted
replaced
382:b9aecdc6f72f | 383:0537af9125a7 |
---|---|
13 ## | 13 ## |
14 | 14 |
15 | 15 |
16 from itertools import chain | 16 from itertools import chain |
17 | 17 |
18 from pyglet.gl import * | 18 from pyglet.gl import (glClear, glMatrixMode, glLoadIdentity, glLoadMatrixf, |
19 glDisable, glEnable, glFogi, glFogf, glFogfv, | |
20 glBlendFunc, glBindTexture, glVertexPointer, | |
21 glTexCoordPointer, glColorPointer, glDrawArrays, | |
22 GL_DEPTH_BUFFER_BIT, GL_PROJECTION, GL_MODELVIEW, | |
23 GL_FOG, GL_FOG_MODE, GL_LINEAR, GL_FOG_START, | |
24 GL_FOG_END, GL_FOG_COLOR, GL_DEPTH_TEST, GL_SRC_ALPHA, | |
25 GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_TEXTURE_2D, | |
26 GL_UNSIGNED_BYTE, GL_FLOAT, GL_QUADS, | |
27 GL_COLOR_BUFFER_BIT, GLfloat) | |
19 | 28 |
20 from pytouhou.utils.matrix import Matrix | 29 from pytouhou.utils.matrix import Matrix |
21 | 30 |
22 from .renderer cimport Renderer | 31 from .renderer cimport Renderer |
23 from .background cimport get_background_rendering_data | 32 from .background cimport get_background_rendering_data |