aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/Intersection/LineIntersection.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-22 02:02:33 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-22 02:02:33 +0000
commitb89a03c890668f98d9f8b269b6ad00824409435b (patch)
tree68074603a57ca6d77f5ea08505ae4a3ebd51e98b /experimental/Intersection/LineIntersection.cpp
parentdb0b3e099f888213535c4ad4c785b84544309033 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6930 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/Intersection/LineIntersection.cpp')
-rw-r--r--experimental/Intersection/LineIntersection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/Intersection/LineIntersection.cpp b/experimental/Intersection/LineIntersection.cpp
index 394d4ddfc3..bb06ff742f 100644
--- a/experimental/Intersection/LineIntersection.cpp
+++ b/experimental/Intersection/LineIntersection.cpp
@@ -77,7 +77,7 @@ int intersect(const _Line& a, const _Line& b, double aRange[2], double bRange[2]
double b0 = bPtr[0];
double b1 = bPtr[2];
// OPTIMIZATION: restructure to reject before the divide
- // e.g., if ((a0 - b0) * (a0 - a1) < 0 || abs(a0 - b0) > abs(a0 - a1))
+ // e.g., if ((a0 - b0) * (a0 - a1) < 0 || abs(a0 - b0) > abs(a0 - a1))
// (except efficient)
double at0 = (a0 - b0) / (a0 - a1);
double at1 = (a0 - b1) / (a0 - a1);