Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenGL auto code generator from a vector image
- struct { float position[3]; float texcoord[2]; float color[4]; } vertices[] =
- {
- // Auto-gen code here...
- { {1, 1, 0}, {0, 1}, {1, 0, 1, 1} },
- ...
- };
Advertisement
Add Comment
Please, Sign In to add comment