A simple cpp program using OpenGL libraries done along with my friend Sheikh Ziad.
- Download the .cpp file
- Go to the terminal and go to the directory where the program files are in.
- Type command
g++ filename.cpp -lGL -lGLU -lglut
- Execute the program using
./a.out
P.S : If you dont have glut installed in your PC,follow below steps - To install OpenGL libraries:
sudo apt-get install mesa-utils
To install freeGlut:
sudo apt-get install freeglut3-dev
This is the screen shot of project.cpp file. You can run the other file (A small improvised version) and check the output of that in your PC.