- opengl (freeglut3)
- g++ compiler (minGW)
$ sudo apt-get install g++
$ sudo apt-get install freeglut3-dev
You need only to download the Repository, open the terminal, compile the cpp file with this command:
g++ -std=c++11 fileName.cpp -lGL -lGLU -lglut
then run it using:
./a.out
The main idea is to use vector translation and rotation in order to draw polygons.