gl_draw is a stupid name

This commit is contained in:
Thomas FORGIONE 2016-11-25 17:08:57 +01:00
parent a2cf694b60
commit ba5ff60448
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class ModelParser:
line = line.rstrip() line = line.rstrip()
self.parse_line(line) self.parse_line(line)
def gl_draw(self): def draw(self):
import OpenGL.GL as gl import OpenGL.GL as gl

View File

@ -73,7 +73,7 @@ def main(args):
gl.glPushMatrix() gl.glPushMatrix()
controls.apply() controls.apply()
shader.bind() shader.bind()
model.gl_draw() model.draw()
shader.unbind() shader.unbind()
gl.glPopMatrix() gl.glPopMatrix()