a SFML port of the common files found on opengl-tutorial.org/