source code
source code
source code
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
27.11.2012 color-shader-ex.cpp 4glewInit();if (glewIsSupported("GL_VERSION_2_0"))printf("Ready for OpenGL 2.0\n");else {printf("OpenGL 2.0 not supported\n");exit(1);}setShaders();glutMainLoop();}return 0;file:///home/healyp/classes/085cs4/23lect/color-shader-ex.cpp