Replaced triangulation routine by http://code.google.com/p/poly2tri/source/checkout?repo=cs (MP2-423)