The basics of OpenGL programming in C with comments explaining what each function call does. It covers the fundamental concepts and provides examples to help you get started with OpenGL development.
To use this code, you need to have OpenGL installed on your system(Linux). Follow the instructions below to install the necessary dependencies:
- Install OpenGL library
sudo apt update && sudo apt upgrade
sudo apt install freeglut3-dev
To run the code in this repository, follow these steps:
- Clone the repository
- Select any file and compile it using the following command:
cd <foldername>
gcc -o <objectname> <filename>.c -lGL -lGLU -lglut -lm
- Run the executable
./<objectname>
or you can compile and run the latest modified file using the following command:
./run.sh
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.