going through OpenGL tutorial 2