Implementation of Anton's OpenGL tutorial