This project is an implementation of the Ear Clipping Triangulation algorithm in C# with MonoGame. The Ear Clipping Triangulation algorithm is used to decompose a polygon into triangles. This implementation also includes a graphical display of the polygons and the triangles.
- Install the latest version of Visual Studio
- Install the latest version of MonoGame
- Clone the repository
- Open the project in Visual Studio
- Build and run the project
- Left click to add a point to the polygon
- Right click to delete the last point from the polygon
- Press the spacebar to triangulate the polygon
- Press the "C" key to clear the polygon and triangles
- Press the "Esc" key to exit the application