https://medium.com/@codeandmagic/opengl-tutorial-creating-rectangles-and-hexagons-step-by-step-ff60060707b9