def reshape(width, height):
   h = height / float(width)
   glViewport(0, 0, width, height)
   glMatrixMode(GL_PROJECTION)
   glLoadIdentity()
   glFrustum(-1.0, 1.0, -h, h, 5.0, 60.0)
   glMatrixMode(GL_MODELVIEW)
   glLoadIdentity()
   glTranslatef(0.0, 0.0, -40.0)
dataset/ETHPy150Open ardekantur/pyglet/experimental/glxgears.py/reshape/original