DavidNorgren

Untitled

May 27th, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. void DrawCheck(int x, int y, int width, int height) {
  2.     glBegin(GL_QUADS);
  3.         glVertex3f(x + width * 0.17, y + height * 0.51, 0.0);
  4.         glVertex3f(x + width * 0.26, y + height * 0.42, 0.0);
  5.         glVertex3f(x + width * 0.41, y + height * 0.57, 0.0);
  6.         glVertex3f(x + width * 0.41, y + height * 0.75, 0.0);
  7.         glVertex3f(x + width * 0.41, y + height * 0.57, 0.0);
  8.         glVertex3f(x + width * 0.71, y + height * 0.27, 0.0);
  9.         glVertex3f(x + width * 0.80, y + height * 0.36, 0.0);
  10.         glVertex3f(x + width * 0.41, y + height * 0.75, 0.0);
  11.     glEnd();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment