commit | f9502d7dfad5b361a3cdaa42eb75b593c95f79d8 | [log] [tgz] |
---|---|---|
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Feb 04 14:06:49 2013 +0000 |
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Feb 04 14:06:49 2013 +0000 |
tree | e793008849660a64c24dfc30aaae7347a1f46c82 | |
parent | 9dde018753c4d16cdc60c008c32bb0b573a82944 [diff] [blame] |
shape ops work in progress git-svn-id: http://skia.googlecode.com/svn/trunk@7535 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/LineCubicIntersection.cpp b/experimental/Intersection/LineCubicIntersection.cpp index cc63099..faed89f 100644 --- a/experimental/Intersection/LineCubicIntersection.cpp +++ b/experimental/Intersection/LineCubicIntersection.cpp
@@ -287,3 +287,8 @@ LineCubicIntersections c(cubic, line, i); return c.intersect(); } + +int intersectRay(const Cubic& cubic, const _Line& line, Intersections& i) { + LineCubicIntersections c(cubic, line, i); + return c.intersectRay(i.fT[0]); +}