additional test case for intersecting edges
remove unused code

from Thomas Åhlén Dec 1, 2013:

There are some things in the code base that was more like coding notes from when I wrote the triangulator. Things that aren't needed and will not be implemented/changed.

So if you want you clean up the code some you can remove these since they will never serve any purpose.

Line 972-976
if(!ot){
// If we want to integrate the fillEdgeEvent do it here
// With current implementation we should never get here
thrownewError('poly2tri [BUG:FIXME] FLIP failed due to missing triangle!');
}

Line 1054-1058
if(!ot){
// If we want to integrate the fillEdgeEvent do it here
// With current implementation we should never get here
thrownewError('poly2tri [BUG:FIXME] FLIP failed due to missing triangle');
}

Line 1064-1070
// TODO: Actually I just figured out that it should be possible to
//       improve this by getting the next ot and op before the the above
//       flip and continue the flipScanEdgeEvent here
// set new ot and op here and loop back to inScanArea test
// also need to set a new flip_triangle first
// Turns out at first glance that this is somewhat complicated
// so it will have to wait.

Will save some more bytes on the script file size :-)