daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jun 19th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void podloga()
  2. {
  3.     glBindTexture(GL_TEXTURE_2D, texture[2]);
  4.     glEnable(GL_TEXTURE_2D);
  5.     glBegin(GL_QUADS);
  6.     glColor3d(1.0, 1.0, 1.0);
  7.     glNormal3d(0.0, 1.0, 0.0);
  8.     glTexCoord2d(0, 8);
  9.     glVertex3d(-100.0, -9.0, -100.0);
  10.     glTexCoord2d(0, 0);
  11.     glVertex3d(-100.0, -9.0, 100.0);
  12.     glTexCoord2d(8, 0);
  13.     glVertex3d(100.0, -9.0, 100.0);
  14.     glTexCoord2d(8, 8);
  15.     glVertex3d(100.0, -9.0, -100.0);
  16.     glDisable(GL_TEXTURE_2D);
  17.     glEnd();
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top