mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Prebuilt module for commit fa0a474ec7
This commit is contained in:
parent
253bc68a2f
commit
ddf4dce8ec
5 changed files with 25 additions and 13 deletions
10
dist/docs/assets/js/paper.js
vendored
10
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Thu Jun 16 14:00:22 2016 +0200
|
||||
* Date: Thu Jun 16 14:02:48 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6130,8 +6130,12 @@ statics: {
|
|||
var p1 = v[coord],
|
||||
c1 = v[coord + 2],
|
||||
c2 = v[coord + 4],
|
||||
p2 = v[coord + 6],
|
||||
c = 3 * (c1 - p1),
|
||||
p2 = v[coord + 6];
|
||||
if (p1 < val && p2 < val && c1 < val && c2 < val
|
||||
|| p1 > val && p2 > val && c1 > val && c2 > val) {
|
||||
return 0;
|
||||
}
|
||||
var c = 3 * (c1 - p1),
|
||||
b = 3 * (c2 - c1) - c,
|
||||
a = p2 - p1 - c - b;
|
||||
return Numerical.solveCubic(a, b, c, p1 - val, roots, min, max);
|
||||
|
|
10
dist/paper-core.js
vendored
10
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Thu Jun 16 14:00:22 2016 +0200
|
||||
* Date: Thu Jun 16 14:02:48 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6130,8 +6130,12 @@ statics: {
|
|||
var p1 = v[coord],
|
||||
c1 = v[coord + 2],
|
||||
c2 = v[coord + 4],
|
||||
p2 = v[coord + 6],
|
||||
c = 3 * (c1 - p1),
|
||||
p2 = v[coord + 6];
|
||||
if (p1 < val && p2 < val && c1 < val && c2 < val
|
||||
|| p1 > val && p2 > val && c1 > val && c2 > val) {
|
||||
return 0;
|
||||
}
|
||||
var c = 3 * (c1 - p1),
|
||||
b = 3 * (c2 - c1) - c,
|
||||
a = p2 - p1 - c - b;
|
||||
return Numerical.solveCubic(a, b, c, p1 - val, roots, min, max);
|
||||
|
|
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
10
dist/paper-full.js
vendored
10
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Thu Jun 16 14:00:22 2016 +0200
|
||||
* Date: Thu Jun 16 14:02:48 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -6130,8 +6130,12 @@ statics: {
|
|||
var p1 = v[coord],
|
||||
c1 = v[coord + 2],
|
||||
c2 = v[coord + 4],
|
||||
p2 = v[coord + 6],
|
||||
c = 3 * (c1 - p1),
|
||||
p2 = v[coord + 6];
|
||||
if (p1 < val && p2 < val && c1 < val && c2 < val
|
||||
|| p1 > val && p2 > val && c1 > val && c2 > val) {
|
||||
return 0;
|
||||
}
|
||||
var c = 3 * (c1 - p1),
|
||||
b = 3 * (c2 - c1) - c,
|
||||
a = p2 - p1 - c - b;
|
||||
return Numerical.solveCubic(a, b, c, p1 - val, roots, min, max);
|
||||
|
|
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