Removed axes
This commit is contained in:
parent
5f58043207
commit
2077cfb311
22
viewer.py
22
viewer.py
|
@ -111,17 +111,17 @@ def main(args):
|
|||
gl.glPushMatrix()
|
||||
controls.apply()
|
||||
|
||||
gl.glBegin(gl.GL_LINES)
|
||||
gl.glColor3f (1.0,0.0,0.0)
|
||||
gl.glVertex3f(0.0,0.0,0.0)
|
||||
gl.glVertex3f(2.0,0.0,0.0)
|
||||
gl.glColor3f (0.0,1.0,0.0)
|
||||
gl.glVertex3f(0.0,0.0,0.0)
|
||||
gl.glVertex3f(0.0,2.0,0.0)
|
||||
gl.glColor3f (0.0,0.0,1.0)
|
||||
gl.glVertex3f(0.0,0.0,0.0)
|
||||
gl.glVertex3f(0.0,0.0,2.0)
|
||||
gl.glEnd()
|
||||
# gl.glBegin(gl.GL_LINES)
|
||||
# gl.glColor3f (1.0,0.0,0.0)
|
||||
# gl.glVertex3f(0.0,0.0,0.0)
|
||||
# gl.glVertex3f(2.0,0.0,0.0)
|
||||
# gl.glColor3f (0.0,1.0,0.0)
|
||||
# gl.glVertex3f(0.0,0.0,0.0)
|
||||
# gl.glVertex3f(0.0,2.0,0.0)
|
||||
# gl.glColor3f (0.0,0.0,1.0)
|
||||
# gl.glVertex3f(0.0,0.0,0.0)
|
||||
# gl.glVertex3f(0.0,0.0,2.0)
|
||||
# gl.glEnd()
|
||||
|
||||
shader.bind()
|
||||
model.draw()
|
||||
|
|
Loading…
Reference in New Issue