darajnish / opengl-cube

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:C 93.8%Language:CMake 6.2%