For those new to OpenGL or graphics programming, there is also this [0] repo on github, which contains a variety of OpenGL examples and single-file projects.
It's pretty much exactly the same thing except you multiply everything by a matrix that looks something like this instead of the standard projection matrix: