Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def refresh2d(width, height):
- glViewport(0, 0, width, height)
- glMatrixMode(GL_PROJECTION)
- glLoadIdentity()
- glOrtho(0.0, width, 0.0, height, 0.0, 1.0)
- glMatrixMode (GL_MODELVIEW)
- glLoadIdentity()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement