Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luiznunvoa/rotating-polygon
A C program made with the SDL library that creates and rotates a polygon
https://github.com/luiznunvoa/rotating-polygon
Last synced: about 2 months ago
JSON representation
A C program made with the SDL library that creates and rotates a polygon
- Host: GitHub
- URL: https://github.com/luiznunvoa/rotating-polygon
- Owner: Luiznunvoa
- License: gpl-2.0
- Created: 2024-12-03T02:18:00.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-03T13:56:12.000Z (2 months ago)
- Last Synced: 2024-12-03T14:46:34.072Z (2 months ago)
- Language: C
- Size: 346 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rotating Polygon
![[](http://i.imgur.com/Ssfp7.gif)](https://github.com/Luiznunvoa/Rotating-Polygon/blob/master/demo.gif)
> Example of a rotating triangle# Project Objective
Just play with the 2D geometry using SDL
# Running the Project
You will need the GCC compiler and the SDL2 library to run the project
- Dowload the project:
git clone https://github.com/Luiznunvoa/Rotating-Polygon
- Go in the Makefile and add your SDL2 path in:
LIB_PATHS =
Make sure the correct files are in the include and lib directories in the path selected
- Go to the project's root directory on the terminal and type:
make
andmake run