OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkPathOpsTSect.h" | 8 #include "SkPathOpsTSect.h" |
9 | 9 |
10 int SkIntersections::intersectB(const SkDQuad& quad1, const SkDQuad& quad2) { | 10 int SkIntersections::intersect(const SkDQuad& quad1, const SkDQuad& quad2) { |
11 SkTSect<SkDQuad> sect1(quad1 PATH_OPS_DEBUG_PARAMS(1)); | 11 SkTSect<SkDQuad> sect1(quad1 PATH_OPS_DEBUG_T_SECT_PARAMS(1)); |
12 SkTSect<SkDQuad> sect2(quad2 PATH_OPS_DEBUG_PARAMS(2)); | 12 SkTSect<SkDQuad> sect2(quad2 PATH_OPS_DEBUG_T_SECT_PARAMS(2)); |
13 SkTSect<SkDQuad>::BinarySearch(§1, §2, this); | 13 SkTSect<SkDQuad>::BinarySearch(§1, §2, this); |
14 return used(); | 14 return used(); |
15 } | 15 } |
OLD | NEW |