Instruction on How to install GLUT and use the library is attached in the extra folder.
1.Run Codeblocks.
2.Open any of the exiting project.
Linux comes with opengl out of the box. But for these projects you will also need a library GLUT in ubuntu install free glut
sudo apt-get install freeglut3-dev
To run the code use the following command
c++ $input.cpp -lGL -lGLU -lglut -o $output
- Moonlit-night
2.Star
3.Star Inside Circle