Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 30th, 2012  |  syntax: C++  |  size: 0.18 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. glPushMatrix();
  2.     glTranslatef(400, 400, 0);
  3.     glVertex2d(200, 100);
  4.     glVertex2d(100, 100);
  5.     glVertex2d(100, 200);
  6.     glVertex2d(200, 200);
  7.     glPopMatrix();
  8. glEnd();
clone this paste RAW Paste Data