gl_draw is a stupid name

This commit is contained in:
Thomas FORGIONE 2016-11-25 17:08:57 +01:00
parent 7d3eea3c7e
commit 9db36bc4c3
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()