Guest User

Untitled

a guest
Jan 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. glMatrixMode(GL_PROJECTION);
  2. glPushMatrix();
  3. glLoadIdentity();
  4. gluOrtho2D(0, m_screenwidth, 0, m_screenheight);
  5. glScalef(1, -1, 1);
  6. glTranslatef(0, -m_screenheight, 0);
  7. glMatrixMode(GL_MODELVIEW);
Add Comment
Please, Sign In to add comment