limweb / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

BUGs in GeometryUtils.as #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
function lineItersects: line 204+ 
if both dx1 and dx2 are zero it's fine to return null, 
since there won't be an intersection at 0,0

function cubicToQuadratic: line 360+
if( s == null ) { split in halves, recurse, return }

this should work fine for cubics with parallel handles.
hope to help -lmg

Original issue reported on code.google.com by kishalmi@gmail.com on 21 Apr 2009 at 12:59

GoogleCodeExporter commented 9 years ago
I suspect you're looking at the old codebase. Please refer to the latest code 
in the
'Origin' branch. We're not using lineIntersects (and it will likely be removed 
at
some point) as we've moved the functionality inline for optimization.

Original comment by greg.d...@gmail.com on 26 Apr 2009 at 9:04