Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. OpenGL auto code generator from a vector image
  2. struct { float position[3]; float texcoord[2]; float color[4]; } vertices[] =
  3. {
  4.     // Auto-gen code here...
  5.     { {1, 1, 0}, {0, 1}, {1, 0, 1, 1} },
  6.     ...
  7. };