Skip to content

A simple example in OpenGL with a cube which rotates on its y-axis

License

Notifications You must be signed in to change notification settings

darajnish/opengl-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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