mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-10 21:19:10 -04:00
Rename Curve#getCrossingsFor() -> #getCrossings()
This commit is contained in:
parent
d1185c5f8b
commit
8b6d9746ce
2 changed files with 2 additions and 2 deletions
src/path
|
@ -1175,7 +1175,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
crossings = 0;
|
||||
for (var i = 0, l = curves.length; i < l; i++) {
|
||||
var curve = curves[i];
|
||||
crossings += curve.getCrossingsFor(point,
|
||||
crossings += curve.getCrossings(point,
|
||||
prevCurve.getTangent(1).y);
|
||||
prevCurve = curve;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue