Skip to content

Instantly share code, notes, and snippets.


Michael IV sasmaster

View GitHub Profile
sasmaster / Triangle_opengl_3_1.cpp
Created Jun 13, 2011 — forked from dlivingstone/Triangle_opengl_3_1.cpp
OpenGL 3.0+ Rendering Example - A complete and fairly minimal example of rendering with shaders
View Triangle_opengl_3_1.cpp
// Triangle_opengl_3_1
// A cross platform version of
// with some code from
// and from the book OpenGL Shading Language 3rd Edition, p215-216
// Daniel Livingstone, October 2010
#include <GL/glew.h>
#include <GL/freeglut.h>
You can’t perform that action at this time.