Advertisement
DatCoderGuy

VBO example

Jul 18th, 2014
863
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # More efficient method
  2. VBO = (
  3.     (0, 0),
  4.     (1, 0),
  5.     (1, 1),
  6.     (0, 1),
  7.     (0, 0))
  8.  
  9. for vert in VBO:
  10.     print vert
  11.    
  12. print "\n"
  13.  
  14. # Less efficient, and more ugly method
  15. print (0, 0)
  16. print (1, 0)
  17. print (1, 1)
  18. print (0, 1)
  19. print (0, 0)
Advertisement
RAW Paste Data Copied
Advertisement