Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/william1nguyen/cpp-spinning-cube

c++ spinning cube
https://github.com/william1nguyen/cpp-spinning-cube

spinning-cube

Last synced: about 1 month ago
JSON representation

c++ spinning cube

Awesome Lists containing this project

README

        

# cpp-spinning-cube
c++ spinning cube

![Screen Recording 2024-06-30 at 17 18 08](https://github.com/natalieconan/cpp-spinning-cube/assets/85930254/df3748f5-fc6c-46cc-9981-a277cef7ca1a)

## How to run this project ?
#### Clone project
```
$ git clone https://github.com/natalieconan/cpp-spinning-cube.git
```

#### Setup c++
##### Install `gcc`
* MacOS
```
$ brew install gcc
```

* Ubuntu
```
$ sudo apt-get install gcc
```

##### Check `gcc` version
```
$ gcc --version
```

#### Render Cube

```
$ g++ main.cpp -o main
$ ./main
```

#### Extend
* To change the cube features, modify `cube.h`.
* To append more spinning polygon, create new file `polygon.h` and add to `main.cpp`.