Video tutorial series for these examples https://www.youtube.com/playlist?list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8
This tutorial series will cover how to use modern OpenGL instead of the old and deprecated Immediate Mode. These tutorials are based on the work of http://learnopengl.com/ and http://open.gl/.