Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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


  1. Dowload the project: git clone https://github.com/Luiznunvoa/Rotating-Polygon

  2. Go in the Makefile and add your SDL2 path in: LIB_PATHS =

  3. Make sure the correct files are in the include and lib directories in the path selected
  4. Go to the project's root directory on the terminal and type: make and make run