comparison pytouhou/opengl/gamerenderer.pyx @ 141:982b21222602

Fix draw order to match EoSD's
author Thibaut Girka <thib@sitedethib.com>
date Sun, 25 Sep 2011 20:18:30 +0200
parents fab7ad2f0d8b
children 6460814b68ea
comparison
equal deleted inserted replaced
140:a9d46c4b5764 141:982b21222602
148 gluLookAt(192., 224., - 835.979370, 148 gluLookAt(192., 224., - 835.979370,
149 192., 224., 0., 0., -1., 0.) 149 192., 224., 0., 0., -1., 0.)
150 150
151 glDisable(GL_FOG) 151 glDisable(GL_FOG)
152 self.render_elements(game.enemies) 152 self.render_elements(game.enemies)
153 self.render_elements(game.players)
153 self.render_elements(game.game_state.bullets) 154 self.render_elements(game.game_state.bullets)
154 self.render_elements(game.players)
155 glEnable(GL_FOG) 155 glEnable(GL_FOG)
156 156