mrdoob/three.js — pull request #4355 by jahting (2014-01-29 08:39:19+00:00)
Title: THREE.Shape.Utils.triangulateShape: Bugfix and Improvement

internal function intersect_segments_2D:
* fixed a bug concerning zero length edges, which cannot occur in this context at present - but a bug nevertheless.
* reduced the chance for problems with rounding effects.