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()
|
gl.glPushMatrix()
|
||||||
controls.apply()
|
controls.apply()
|
||||||
|
|
||||||
gl.glBegin(gl.GL_LINES)
|
# gl.glBegin(gl.GL_LINES)
|
||||||
gl.glColor3f (1.0,0.0,0.0)
|
# gl.glColor3f (1.0,0.0,0.0)
|
||||||
gl.glVertex3f(0.0,0.0,0.0)
|
# gl.glVertex3f(0.0,0.0,0.0)
|
||||||
gl.glVertex3f(2.0,0.0,0.0)
|
# gl.glVertex3f(2.0,0.0,0.0)
|
||||||
gl.glColor3f (0.0,1.0,0.0)
|
# gl.glColor3f (0.0,1.0,0.0)
|
||||||
gl.glVertex3f(0.0,0.0,0.0)
|
# gl.glVertex3f(0.0,0.0,0.0)
|
||||||
gl.glVertex3f(0.0,2.0,0.0)
|
# gl.glVertex3f(0.0,2.0,0.0)
|
||||||
gl.glColor3f (0.0,0.0,1.0)
|
# gl.glColor3f (0.0,0.0,1.0)
|
||||||
gl.glVertex3f(0.0,0.0,0.0)
|
# gl.glVertex3f(0.0,0.0,0.0)
|
||||||
gl.glVertex3f(0.0,0.0,2.0)
|
# gl.glVertex3f(0.0,0.0,2.0)
|
||||||
gl.glEnd()
|
# gl.glEnd()
|
||||||
|
|
||||||
shader.bind()
|
shader.bind()
|
||||||
model.draw()
|
model.draw()
|
||||||
|
|
Loading…
Reference in New Issue