commit | 6d0032a8ec680221c2a704cac2391f2a2d77546f | [log] [tgz] |
---|---|---|
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jan 04 19:41:13 2013 +0000 |
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jan 04 19:41:13 2013 +0000 |
tree | e8bf1cf1ca5917daa4e7062243cec58cfb6c0ff3 | |
parent | d96d17b9c113ac694138224249ff2ce643e961dd [diff] [blame] |
shape ops work in progress git-svn-id: http://skia.googlecode.com/svn/trunk@7031 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/LineCubicIntersection.cpp b/experimental/Intersection/LineCubicIntersection.cpp index 3111ddd..91a0b7d 100644 --- a/experimental/Intersection/LineCubicIntersection.cpp +++ b/experimental/Intersection/LineCubicIntersection.cpp
@@ -224,7 +224,7 @@ int intersect(const Cubic& cubic, const _Line& line, double cRange[3], double lRange[3]) { LineCubicIntersections c(cubic, line, cRange); int roots; - if (approximately_equal(line[0].y, line[1].y)) { + if (AlmostEqualUlps(line[0].y, line[1].y)) { roots = c.horizontalIntersect(line[0].y); } else { roots = c.intersect();