mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Prebuilt module for commit b680ec05b9
This commit is contained in:
parent
2329e29531
commit
93de603562
5 changed files with 16 additions and 13 deletions
7
dist/docs/assets/js/paper.js
vendored
7
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Mar 1 12:37:08 2017 +0100
|
||||
* Date: Mon Mar 6 10:13:14 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6829,16 +6829,17 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
var abort = ++recursion >= 48 || ++calls > 4096,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
(straight1 && straight2
|
||||
? addLineIntersection
|
||||
: addCurveLineIntersections)(
|
||||
flip ? v2 : v1, flip ? v1 : v2,
|
||||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
return calls;
|
||||
}
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
|
|
7
dist/paper-core.js
vendored
7
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Mar 1 12:37:08 2017 +0100
|
||||
* Date: Mon Mar 6 10:13:14 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6829,16 +6829,17 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
var abort = ++recursion >= 48 || ++calls > 4096,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
(straight1 && straight2
|
||||
? addLineIntersection
|
||||
: addCurveLineIntersections)(
|
||||
flip ? v2 : v1, flip ? v1 : v2,
|
||||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
return calls;
|
||||
}
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
|
|
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
7
dist/paper-full.js
vendored
7
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Mar 1 12:37:08 2017 +0100
|
||||
* Date: Mon Mar 6 10:13:14 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6829,16 +6829,17 @@ new function() {
|
|||
|
||||
function addCurveIntersections(v1, v2, c1, c2, tMin, tMax, uMin, uMax,
|
||||
locations, include, recursion, calls, flip) {
|
||||
var abort = ++recursion >= 48 || ++calls > 256,
|
||||
var abort = ++recursion >= 48 || ++calls > 4096,
|
||||
straight1 = abort || Curve.isStraight(v1),
|
||||
straight2 = abort || Curve.isStraight(v2);
|
||||
if (straight1 || straight2) {
|
||||
return (straight1 && straight2
|
||||
(straight1 && straight2
|
||||
? addLineIntersection
|
||||
: addCurveLineIntersections)(
|
||||
flip ? v2 : v1, flip ? v1 : v2,
|
||||
flip ? c2 : c1, flip ? c1 : c2,
|
||||
locations, include, recursion);
|
||||
return calls;
|
||||
}
|
||||
var epsilon = 1e-12,
|
||||
q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7],
|
||||
|
|
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