OpenGL notes and code snippets