Setting up OpenGL
In order to have access to the latest version of OpenGL, we need to download two libraries. One is named the OpenGL Extension Wrangler Library. It loads and makes available all OpenGL extensions that are supported on the target platform. The library can be downloaded here http://glew.sourceforge.net/.
The other library we need is called OpenGL Mathematics, or GLM for short. It is a header-only library that adds a lot of extra data types and functions, which come in handy more often than not. Anything from simple vector data types to functions used to calculate cross products are added in by this library. It can be found here http://glm.g-truc.net/0.9.8/index.html .
Setting up a Visual Studio project
Alongside the usual SFML includes, which we are still going to need for creating a window, we also need to add the GLEW and GLM include
folders in the Include Directories field under VC++ Directories.
The GLEW Additional Library Directory must be added in as well in the General...