Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/william1nguyen/cpp-spinning-cube
- Owner: william1nguyen
- Created: 2024-06-29T10:13:46.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-06T14:52:54.000Z (6 months ago)
- Last Synced: 2024-08-01T20:45:51.185Z (5 months ago)
- Topics: spinning-cube
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.