I have 4 points and need to determine which pairs of these points represent the diagonals.
In other words, I am trying to triangulate a quadrilateral.
I realize that triangulation of polygons is a well documented subject, but I'm looking for a short algorithm that I can implement in a few lines. Hopefully since I only have quadrilaterals, I can avoid importing a whole triangulation library.