title: Triangulation of polygon
body: <p>Im trying to triangulate a polygon for use in a 3d model. When i try using the ear method on a polygon with points as dotted below, i get triangles where the red lines are. Since there are no other points inside these triangles this is probably correct. But i want it to triangulate the area inside the black lines only. Anyone know of any algorithms that will do this? </p>
  
  <p><img src="https://i.stack.imgur.com/AehrH.jpg" alt="enter image description here"></p>