daily pastebin goal
10%
SHARE
TWEET

Matrix stack - rebuilding

Archon Feb 16th, 2012 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setView(); //camera
  2.  
  3. glutSolidCube(5);
  4.  
  5. glTranslated(5, 0, 0);
  6. glutSolidCube(5);
  7.  
  8. setView();
  9. glTranslated(0, 5, 0);
  10. glutSolidCube(5);
  11.  
  12. setView();
  13. glTranslated(0, 0, 5);
  14. glutSolidCube(5);
RAW Paste Data
Top