Prebuilt module for commit fa0a474ec7

This commit is contained in:
Paper.js Bot 2016-06-16 12:07:57 +00:00
parent 253bc68a2f
commit ddf4dce8ec
5 changed files with 25 additions and 13 deletions

View file

@ -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
View file

@ -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);

File diff suppressed because one or more lines are too long

10
dist/paper-full.js vendored
View file

@ -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);

File diff suppressed because one or more lines are too long