diff --git a/d3/model/basemodel.py b/d3/model/basemodel.py index 3591a81..48cb4d9 100644 --- a/d3/model/basemodel.py +++ b/d3/model/basemodel.py @@ -78,7 +78,7 @@ class ModelParser: line = line.rstrip() self.parse_line(line) - def gl_draw(self): + def draw(self): import OpenGL.GL as gl diff --git a/viewer.py b/viewer.py index 837bda5..310410c 100755 --- a/viewer.py +++ b/viewer.py @@ -73,7 +73,7 @@ def main(args): gl.glPushMatrix() controls.apply() shader.bind() - model.gl_draw() + model.draw() shader.unbind() gl.glPopMatrix()