mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit e3828d810b
This commit is contained in:
parent
201b4209d2
commit
ee603e4911
5 changed files with 16 additions and 19 deletions
9
dist/docs/assets/js/paper.js
vendored
9
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 14:01:23 2017 +0100
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6825,8 +6825,9 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var straight1 = Curve.isStraight(v1),
|
||||
straight2 = Curve.isStraight(v2);
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
? addLineIntersection
|
||||
|
@ -6835,8 +6836,6 @@ new function() {
|
|||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
}
|
||||
if (++recursion >= 48 || ++calls > 256)
|
||||
return calls;
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
getSignedDistance = Line.getSignedDistance,
|
||||
|
|
9
dist/paper-core.js
vendored
9
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 14:01:23 2017 +0100
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6825,8 +6825,9 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var straight1 = Curve.isStraight(v1),
|
||||
straight2 = Curve.isStraight(v2);
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
? addLineIntersection
|
||||
|
@ -6835,8 +6836,6 @@ new function() {
|
|||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
}
|
||||
if (++recursion >= 48 || ++calls > 256)
|
||||
return calls;
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
getSignedDistance = Line.getSignedDistance,
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
9
dist/paper-full.js
vendored
9
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Feb 22 14:01:23 2017 +0100
|
||||
* Date: Wed Feb 22 13:58:27 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6825,8 +6825,9 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var straight1 = Curve.isStraight(v1),
|
||||
straight2 = Curve.isStraight(v2);
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
? addLineIntersection
|
||||
|
@ -6835,8 +6836,6 @@ new function() {
|
|||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
}
|
||||
if (++recursion >= 48 || ++calls > 256)
|
||||
return calls;
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
getSignedDistance = Line.getSignedDistance,
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue