Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 739 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 739 Bytes

opengl-cube

This is just a simple example in OpenGL with a cube which rotates on its y-axis.

Building

This is a cmake project so cmake must be installed to compile this project.

First, create a build directory and change into it.

mkdir -v build && cd build

Then, run cmake over the parent directory as it contains the CMakeLists.txt project file.

cmake ..

Now, simply run make to create the final program executable. The final executable cube will get created in the same build directory.

make

Running

Execute the executable cube to run the calculator.

./cube

License

This project is under MIT License