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/LineQuadraticIntersection.cpp b/experimental/Intersection/LineQuadraticIntersection.cpp
index b3303cf..00c3554 100644
--- a/experimental/Intersection/LineQuadraticIntersection.cpp
+++ b/experimental/Intersection/LineQuadraticIntersection.cpp
@@ -298,7 +298,7 @@
double x;
double t = rootVals[index];
xy_at_t(quad, t, x, *(double*) 0);
- if (approximately_equal(x, pt.x)) {
+ if (AlmostEqualUlps(x, pt.x)) {
return t;
}
}
@@ -313,7 +313,7 @@
double y;
double t = rootVals[index];
xy_at_t(quad, t, *(double*) 0, y);
- if (approximately_equal(y, pt.y)) {
+ if (AlmostEqualUlps(y, pt.y)) {
return t;
}
}