commit | 9f60291c5375457f8adf228dbe6e8ff1186b13e1 | [log] [tgz] |
---|---|---|
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 24 21:47:16 2013 +0000 |
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 24 21:47:16 2013 +0000 |
tree | 23019a2d2269d2a4bd2aa4a9a918fc0ba3e17f33 | |
parent | 6c55b513bfbb9d04d0339715637c356cd4858663 [diff] [blame] |
shape ops work in progress first 100,000 random cubic/cubic intersections working git-svn-id: http://skia.googlecode.com/svn/trunk@7380 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/CubeRoot.cpp b/experimental/Intersection/CubeRoot.cpp index 82d2732..5f785a0 100644 --- a/experimental/Intersection/CubeRoot.cpp +++ b/experimental/Intersection/CubeRoot.cpp
@@ -374,7 +374,7 @@ #endif double cube_root(double x) { - if (approximately_zero(x)) { + if (approximately_zero_cubed(x)) { return 0; } double result = halley_cbrt3d(fabs(x));