Mercurial > touhou
comparison pytouhou/opengl/gamerenderer.py @ 111:340fcda8e64a
Fix a few, minor things
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 06 Sep 2011 21:28:44 +0200 |
parents | 2a03940deea3 |
children | fad7b44cebf2 |
comparison
equal
deleted
inserted
replaced
110:3ac41b966fed | 111:340fcda8e64a |
---|---|
90 back = self.background | 90 back = self.background |
91 game = self.game | 91 game = self.game |
92 texture_manager = self.texture_manager | 92 texture_manager = self.texture_manager |
93 | 93 |
94 if back is not None: | 94 if back is not None: |
95 fog_b, fog_g, fog_r, _, fog_start, fog_end = back.fog_interpolator.values | 95 fog_b, fog_g, fog_r, fog_start, fog_end = back.fog_interpolator.values |
96 x, y, z = back.position_interpolator.values | 96 x, y, z = back.position_interpolator.values |
97 dx, dy, dz = back.position2_interpolator.values | 97 dx, dy, dz = back.position2_interpolator.values |
98 | 98 |
99 glFogi(GL_FOG_MODE, GL_LINEAR) | 99 glFogi(GL_FOG_MODE, GL_LINEAR) |
100 glFogf(GL_FOG_START, fog_start) | 100 glFogf(GL_FOG_START, fog_start) |