diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-15 02:01:17 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-15 02:01:17 +0000 |
commit | b3b6a60d35c8ee521252367200148561c628ee42 (patch) | |
tree | 30cac66b8d07a3b1489884d8ff43319aea35c104 | |
parent | 9b21c25e742d6a8b69bee8b049e79877f93b5936 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6425 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | experimental/Intersection/Simplify.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/experimental/Intersection/Simplify.cpp b/experimental/Intersection/Simplify.cpp index 80c3566028..30044c505e 100644 --- a/experimental/Intersection/Simplify.cpp +++ b/experimental/Intersection/Simplify.cpp @@ -1465,7 +1465,7 @@ public: other.addCancelOutsides(tStart, oStart, *this, endT); } } - + int bumpCoincidentThis(const Span* oTest, const bool transfer, const bool decrementThis, const bool thisXor, const bool opp, int index, SkTDArray<double>& outsideTs, SkTDArray<double>& xOutsideTs) @@ -1584,10 +1584,10 @@ public: if (decrementThis) { oIndex = other.bumpCoincidentOther(test, transfer, decrementThis, otherXor, opp, tRatio, oEndT, oIndex, oOutsideTs); - index = bumpCoincidentThis(oTest, transfer, decrementThis, thisXor, opp, + index = bumpCoincidentThis(oTest, transfer, decrementThis, thisXor, opp, index, outsideTs, xOutsideTs); } else { - index = bumpCoincidentThis(oTest, transfer, decrementThis, thisXor, opp, + index = bumpCoincidentThis(oTest, transfer, decrementThis, thisXor, opp, index, outsideTs, xOutsideTs); oIndex = other.bumpCoincidentOther(test, transfer, decrementThis, otherXor, opp, tRatio, oEndT, oIndex, oOutsideTs); @@ -3048,7 +3048,7 @@ public: SkASSERT(angle->segment() == this); return oppSign(angle->start(), angle->end()); } - + int oppSign(int startIndex, int endIndex) const { int result = startIndex < endIndex ? -fTs[startIndex].fOppValue : fTs[endIndex].fOppValue; @@ -3473,7 +3473,7 @@ public: wind = windSum; } if (!oppoSign) { - SkDebugf(" %d->%d (max=%d)", last, wind, + SkDebugf(" %d->%d (max=%d)", last, wind, useInnerWinding(last, wind) ? wind : last); } else { SkDebugf(" %d->%d (%d->%d)", last, wind, opp ? lastSum : oppLastSum, |