(width,height)
| 23 | glut.glutSwapBuffers() |
| 24 | |
| 25 | def resize(width,height): |
| 26 | gl.glViewport(0, 0, width, height+4) |
| 27 | gl.glMatrixMode(gl.GL_PROJECTION) |
| 28 | gl.glLoadIdentity() |
| 29 | gl.glOrtho(0, width, 0, height+4, -1, 1) |
| 30 | gl.glMatrixMode(gl.GL_MODELVIEW) |
| 31 | |
| 32 | if glut.glutGetWindow() > 0: |
| 33 | interactive = True |
nothing calls this directly
no outgoing calls
no test coverage detected