shape ops work in progress

git-svn-id: http://skia.googlecode.com/svn/trunk@7303 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/CubicIntersection.cpp b/experimental/Intersection/CubicIntersection.cpp
index 2c6cc3f..4ae0d84 100644
--- a/experimental/Intersection/CubicIntersection.cpp
+++ b/experimental/Intersection/CubicIntersection.cpp
@@ -4,6 +4,8 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
+
+#include "CubicUtilities.h"
 #include "CurveIntersection.h"
 #include "Intersections.h"
 #include "IntersectionUtilities.h"
@@ -162,10 +164,12 @@
 #include "CubicUtilities.h"
 
 // FIXME: ? if needed, compute the error term from the tangent length
+start here;
+// need better delta computation -- assert fails
 static double computeDelta(const Cubic& cubic, double t, double scale) {
-    double attempt = scale / precisionUnit;
+    double attempt = scale / precisionUnit * 2;
 #if SK_DEBUG
-    double precision = calcPrecision(cubic);
+    double precision = calcPrecision(cubic, t, scale);
     _Point dxy;
     dxdy_at_t(cubic, t, dxy);
     _Point p1, p2;