Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. glPushMatrix();
  2. glTranslatef(0.0f,0.0f,-30.0f);
  3. glutSolidCube(4);
  4. glPopMatrix();
  5.  
  6. glPushMatrix();
  7. glTranslatef(-10.0f, 0.0f, 0.0f);
  8. glutSolidCube(4);
  9. glPopMatrix();
  10.  
  11. glPushMatrix();
  12. glTranslatef(10.0f, 0.0f, 0.0f);
  13. glutSolidCube(4);
  14. glPopMatrix();
  15.  
  16. glPushMatrix();
  17. glTranslatef(-10.0f, 0.0f, -30.0f);
  18. glutSolidCube(4);
  19. glPopMatrix();
  20.  
  21. glPushMatrix();
  22. glTranslatef(10.0f, 0.0f, -30.0f);
  23. glutSolidCube(4);
  24. glPopMatrix();
  25.  
  26. glPushMatrix();
  27. glTranslatef(-20.0f, 0.0f, -30.0f);
  28. glutSolidCube(4);
  29. glPopMatrix();
  30.  
  31. glPushMatrix();
  32. glTranslatef(20.0f, 0.0f, -30.0f);
  33. glutSolidCube(4);
  34. glPopMatrix();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement