fergle/geoalg.js — pull request #1 by maming (2013-06-08 07:12:49+00:00)
Title: lines 293

when I convexHull my points((1,1),(2,1),(3,1),(3,2)),the function convexHull() return error.
that looks like when p0.y=p1.y=p2.y, convexHull() return error,So, i changed at lines 293 and get my result.