SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     //x a range from [-2,1.5] and y a range from [-1.2,1.2]
  2.     bindPrograms(vertexProg, fragment_prog2);   //board 3 mandelbrot
  3.     glNormal3f(0,1,0);
  4.     glBegin(GL_QUADS);
  5.     glTexCoord2f(-2,-1.2);  glVertex3f(7, -4, 1);
  6.     glTexCoord2f(1.5,0);    glVertex3f(1, -4, 1);
  7.     glTexCoord2f(1.5,1.2);  glVertex3f(1, -4, 7);
  8.     glTexCoord2f(0,1.2);    glVertex3f(7, -4, 7);
  9.     glEnd();
RAW Paste Data
Want to get better at C?
Learn to code C in 2017
Top